aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-11-01 19:41:47 +0100
committerJakob Unterwurzacher2017-11-01 19:41:47 +0100
commit5428567fa09019cb844c59700d7ffc2a49719f51 (patch)
tree3b5cd4f153b5a058391f2d544e49f8c5da8ce488
parent6c2c2b9a8b554be43545694e9f77577dba87ecb1 (diff)
package-source.bash: create VERSION filev1.4.2
...and delete if after packaging is done.
-rwxr-xr-xpackage-source.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/package-source.bash b/package-source.bash
index 31fe98c..4d5cf20 100755
--- a/package-source.bash
+++ b/package-source.bash
@@ -19,7 +19,9 @@ GITVERSION=$(git describe --tags --dirty)
PREFIX=gocryptfs_${GITVERSION}_src+deps
dep ensure
+echo $GITVERSION > VERSION
git_archive_extra $PREFIX VERSION vendor
+rm VERSION
echo "Tar created."
echo "Hint for signing: gpg -u 23A02740 --armor --detach-sig $PREFIX.tar.gz"