summaryrefslogtreecommitdiff
path: root/prepare-release.sh
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2008-07-02 20:25:29 +0100
committerNick White <git@njw.me.uk>2008-07-02 20:25:29 +0100
commit52c5eaad663de8237222e7b0854db11d6582d02b (patch)
treec4a020c2065aa9398270c4ae9977484228cfae8a /prepare-release.sh
parentab0190cae66de3111b27fde224d739873830fbd4 (diff)
More fixups for release script
Diffstat (limited to 'prepare-release.sh')
-rwxr-xr-xprepare-release.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/prepare-release.sh b/prepare-release.sh
index 7cf7404..f6efc1b 100755
--- a/prepare-release.sh
+++ b/prepare-release.sh
@@ -41,7 +41,8 @@ make clean
echo Cleaning up working directory
rm -rf autom4te.cache
-rm prepare-package.sh
+rm -rf .git*
+rm "$0"
echo Packaging into a tarball
cd ..
@@ -57,7 +58,7 @@ echo Signing package
gpg -b getht-$VERSION.tar.bz2
echo Checksumming package
-sha1sum getht-$VERSION.tar.bz2
+sha1sum getht-$VERSION.tar.bz2 > getht-$VERSION.tar.bz2.sha1
echo "Packaging of GetHT $VERSION complete."
echo "The tarball resides at ./getht-$VERSION.tar.bz2"