Add package.bash
This commit is contained in:
parent
440abcbac6
commit
c4a66bc30d
|
@ -3,3 +3,6 @@
|
||||||
|
|
||||||
# temporary files created by the tests
|
# temporary files created by the tests
|
||||||
/tmp
|
/tmp
|
||||||
|
|
||||||
|
# binary releases
|
||||||
|
/*.tar.gz
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
tag=$(git describe --tags)
|
||||||
|
cd gocryptfs_main
|
||||||
|
go build
|
||||||
|
tar czvf ../gocryptfs_$tag.tar.gz gocryptfs gocryptfs_main
|
Loading…
Reference in New Issue