diff options
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" |