package.bash: add architecture to filename
Example: gocryptfs_v0.3-1-g0788eb4_linux-amd64.tar.gz
This commit is contained in:
parent
e7c25b482e
commit
5263676cb1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user