Browse Source

Improve linux bin script

pull/38/head
Duke Leto 3 years ago
parent
commit
1d260fb919
  1. 6
      contrib/devtools/gen-linux-binary-release.sh

6
contrib/devtools/gen-linux-binary-release.sh

@ -5,8 +5,10 @@
set -e
set -x
#TODO: autodect version number, error handling
FILE="hush-3.6.2-linux-amd64.tar"
#hardcode and uncomment if hushd is not running on this machine
#VERSION=3.6.3
VERSION=$(./src/hushd --version|grep version|cut -d' ' -f4|cut -d- -f1|sed 's/v//g')
FILE="hush-$VERSION-linux-amd64.tar"
TIME=$(perl -e 'print time')
mv build build.$TIME

Loading…
Cancel
Save