xfsdump: update version to 3.1.2

Update version to 3.1.2 and change the release script to
create a source tarball by default and sign it.

Signed-off-by: Ben Myers <bpm@sgi.com>

diff --git a/VERSION b/VERSION
index da24f22..40f0361 100644
--- a/VERSION
+++ b/VERSION
@@ -3,5 +3,5 @@
 #
 PKG_MAJOR=3
 PKG_MINOR=1
-PKG_REVISION=1
+PKG_REVISION=2
 PKG_BUILD=1
diff --git a/configure.ac b/configure.ac
index dcefb51..eecbed4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([xfsdump], [3.1.1])
+AC_INIT([xfsdump], [3.1.2])
 AC_PREREQ(2.50)
 AC_CONFIG_AUX_DIR([.])
 AC_CONFIG_MACRO_DIR([m4])
diff --git a/doc/CHANGES b/doc/CHANGES
index 1b268d0..1a70c7e 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,3 +1,6 @@
+xfsdump-3.1.2 (13 December 2012)
+	- Update release script to create a source tarball.
+
 xfsdump-3.1.1 (31 October 2012)
 	- Save and restore 32 bit project ids correctly.
 	- German translation, thanks to Chris Leick.
diff --git a/release.sh b/release.sh
index 65e4e4b..25a1732 100755
--- a/release.sh
+++ b/release.sh
@@ -18,6 +18,10 @@
 echo "Tagging git repository"
 git tag -s -a -m "${version} release" v${version}
 
-echo "Done.  Please remember to push out tags using \"git push --tags\""
-echo "If you wish to create a source tarball, run \"make dist\""
+echo "Making source tarball"
+make dist
 
+echo "Sign the source tarball"
+gpg --detach-sign xfsdump-${version}.tar.gz
+
+echo "Done.  Please remember to push out tags using \"git push --tags\""