package-source.bash: create VERSION file

...and delete if after packaging is done.
This commit is contained in:
Jakob Unterwurzacher 2017-11-01 19:41:47 +01:00
parent 6c2c2b9a8b
commit 5428567fa0

View File

@ -19,7 +19,9 @@ GITVERSION=$(git describe --tags --dirty)
PREFIX=gocryptfs_${GITVERSION}_src+deps PREFIX=gocryptfs_${GITVERSION}_src+deps
dep ensure dep ensure
echo $GITVERSION > VERSION
git_archive_extra $PREFIX VERSION vendor git_archive_extra $PREFIX VERSION vendor
rm VERSION
echo "Tar created." echo "Tar created."
echo "Hint for signing: gpg -u 23A02740 --armor --detach-sig $PREFIX.tar.gz" echo "Hint for signing: gpg -u 23A02740 --armor --detach-sig $PREFIX.tar.gz"