From c4a66bc30dbec1c3e0240f5d5bdb05412b2168a2 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 7 Oct 2015 22:14:00 +0200 Subject: [PATCH] Add package.bash --- .gitignore | 3 +++ package.bash | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100755 package.bash diff --git a/.gitignore b/.gitignore index 4e4ddae..22ad0f7 100644 --- a/.gitignore +++ b/.gitignore @@ -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