diff options
-rwxr-xr-x | package.bash | 4 |
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 |