Add package.bash

This commit is contained in:
Jakob Unterwurzacher 2015-10-07 22:14:00 +02:00
parent 440abcbac6
commit c4a66bc30d
2 changed files with 11 additions and 0 deletions

3
.gitignore vendored
View File

@ -3,3 +3,6 @@
# temporary files created by the tests
/tmp
# binary releases
/*.tar.gz

8
package.bash Executable file
View File

@ -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