diff options
author | Jakob Unterwurzacher | 2015-11-01 15:32:50 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-11-01 15:33:54 +0100 |
commit | 5263676cb11fd598f2b448e2e63d9dffc3e71e23 (patch) | |
tree | 7f9cb1be14eb214426271d06271aa6b550e3ae2a /package.bash | |
parent | e7c25b482e14941cdfec61329f6a752f1666a2f2 (diff) |
package.bash: add architecture to filename
Example: gocryptfs_v0.3-1-g0788eb4_linux-amd64.tar.gz
Diffstat (limited to 'package.bash')
-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 |