diff options
author | Jakob Unterwurzacher | 2015-10-07 22:14:00 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-10-07 22:14:00 +0200 |
commit | c4a66bc30dbec1c3e0240f5d5bdb05412b2168a2 (patch) | |
tree | 3b655c67bd0490984aeff5371354e1de3598e692 | |
parent | 440abcbac63a5994d4bac1b5dfcf838aaaefdbd7 (diff) |
Add package.bash
-rw-r--r-- | .gitignore | 3 | ||||
-rwxr-xr-x | package.bash | 8 |
2 files changed, 11 insertions, 0 deletions
@@ -3,3 +3,6 @@ # temporary files created by the tests /tmp + +# binary releases +/*.tar.gz diff --git a/package.bash b/package.bash new file mode 100755 index 0000000..aeb52b2 --- /dev/null +++ b/package.bash @@ -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 |