summaryrefslogtreecommitdiff
path: root/package.bash
diff options
context:
space:
mode:
Diffstat (limited to 'package.bash')
-rwxr-xr-xpackage.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.bash b/package.bash
index 7855ce8..a46a028 100755
--- a/package.bash
+++ b/package.bash
@@ -4,7 +4,9 @@ set -eux
source build.bash
-TARGZ=gocryptfs_$GITVERSION.tar.gz
+ARCH=$(go version | cut -d ' ' -f 4 | tr / -)
+
+TARGZ=gocryptfs_${GITVERSION}_$ARCH.tar.gz
tar czf $TARGZ gocryptfs
ls -lh $TARGZ