# bump the version in version.rb if it hasn't already been done
VERSION=`ruby -e 'load "trunk/lib/wagn/version.rb"; print Wagn::Version'`
# do the changelog thing
cd tags/wagn-$PREVIOUS_VERSION
VERSION_AT_LAST_RELEASE=`svn log --stop-on-copy | grep -B 2 "$PREVIOUS_VERSION" | egrep '^r' | awk '{print $1}'`
echo $VERSION_AT_LAST_RELEASE #just make sure it's reasonable
cd ../../trunk
svn log --xml -$VERSION_AT_LAST_RELEASE:HEAD > svnlog.xml
rake wagn:format_changelog
# cut-n-paste into changelog
# cut-n-paste into rubyforge changelog box
# make the tag
svn copy trunk tags/wagn-$VERSION
svn commit -m "Tagging $VERSION release"
# build the packages
rake wagn:release
# upload to rubyforge
# - post rubyforge news if desired.
# - in release notes put Release+Introduction, followed by current release + summary
# - send email to wagn-developers
# - update wagn.org Current/Coming soon, create release card if it's not there.
### MEYER UPDATE
# DON'T FORGET TO FIX SPOTLIGHT/HIGHLIGHT