diff options
author | Nick White <git@njw.me.uk> | 2008-06-17 00:20:03 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2008-06-17 00:20:03 +0100 |
commit | 8e3dec79bac63482c48a625e802ce5beed4556f5 (patch) | |
tree | 3962c62ca802d7952570253dc28f745e7c8541fc /prepare-package.sh | |
parent | 957738c38ce7a364cc4886b5151a8891cae2a028 (diff) |
Added doc on making a release
Added signing and checksumming tarball to preparation script
Renamed said script
Diffstat (limited to 'prepare-package.sh')
-rwxr-xr-x | prepare-package.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/prepare-package.sh b/prepare-package.sh index 141d5df..8832ed2 100755 --- a/prepare-package.sh +++ b/prepare-package.sh @@ -27,15 +27,9 @@ echo Packaging GetHT version $VERSION echo Copying sources to a temporary directory rm -rf $TMPDIR/getht-$VERSION && \ -mkdir $TMPDIR/getht-$VERSION && \ -cp -R * $TMPDIR/getht-$VERSION && \ +git clone . $TMPDIR/getht-version && \ cd $TMPDIR/getht-$VERSION -echo Removing Arch metadata -rm -rf \{arch\} -rm -rf .arch_ids -rm -f ++log.getht* - # ensure version number in configure.ac is set correctly sed -i "s|^AC_INIT(getht, .*)$|AC_INIT(getht, $VERSION)|" configure.ac @@ -59,5 +53,11 @@ rm -rf getht-$VERSION cd $ORIGDIR mv $TMPDIR/getht-$VERSION.tar.bz2 . +echo Signing package +gpg -b getht-$VERSION.tar.bz2 + +echo Checksumming package +sha1sum getht-$VERSION.tar.bz2 + echo "Packaging of GetHT $VERSION complete." echo "The tarball resides at ./getht-$VERSION.tar.bz2" |