libgocryptfs/package.bash
Jakob Unterwurzacher 5263676cb1 package.bash: add architecture to filename
Example: gocryptfs_v0.3-1-g0788eb4_linux-amd64.tar.gz
2015-11-01 15:33:54 +01:00

13 lines
172 B
Bash
Executable File

#!/bin/bash
set -eux
source build.bash
ARCH=$(go version | cut -d ' ' -f 4 | tr / -)
TARGZ=gocryptfs_${GITVERSION}_$ARCH.tar.gz
tar czf $TARGZ gocryptfs
ls -lh $TARGZ