-#!/bin/bash
+#!/bin/sh
#
-# Automate generation a new release
+# Automate generation of a new release
#
+# Need to first update these files:
+#
+# VERSION (with new version number)
+# docs/CHANGES (with changelog and version/date string)
+# configure.ac (with new version string)
+# debian/changelog (with new release entry, only for release version)
. ./VERSION
mv doc/CHANGES.tmp doc/CHANGES
echo "Commiting CHANGES update to git"
-git commit -s -a -m "${version} release"
+git commit -a -m "${version} release"
echo "Tagging git repository"
-git tag -s -a -m "${version} release" v${version}
+git tag -a -m "${version} release" v${version}
echo "Making source tarball"
make dist
-echo "Sign the source tarball"
-gpg --detach-sign xfsprogs-${version}.tar.gz
+#echo "Sign the source tarball"
+#gpg --detach-sign xfsprogs-${version}.tar.gz
echo "Done. Please remember to push out tags using \"git push --tags\""