3 # Automate generation a new release
8 version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
9 date=`date +"%-d %B %Y"`
11 echo "Updating CHANGES"
12 sed -e "s/${version}.*/${version} (${date})/" doc/CHANGES > doc/CHANGES.tmp && \
13 mv doc/CHANGES.tmp doc/CHANGES
15 echo "Commiting CHANGES update to git"
16 git commit -s -a -m "${version} release"
18 echo "Tagging git repository"
19 git tag -s -a -m "${version} release" v${version}
21 echo "Done. Please remember to push out tags using \"git push --tags\""
22 echo "If you wish to create a source tarball, run \"make dist\""