Skip to content

Commit

Permalink
build file updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vyshakhp committed Jul 17, 2018
1 parent d6993f6 commit 5fa42a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh

BINVERSION="0.1.0"
#archs=( "linux.amd64")
archs=( "linux.amd64" "linux.386" "darwin.amd64" "darwin.386" )

rm -rf bin
Expand All @@ -9,6 +10,8 @@ for i in "${archs[@]}"
do
rm helmez/helmez-bin
binurl="https://github.com/ysaakpr/helmez-bin/releases/download/${BINVERSION}/helmez-bin.${i}"
curl -o helmez/helmez-bin ${binurl}
tar -zcvf bin/helmez-${i}.tar.gz helmez/
curl -L -o helmez/helmez-bin ${binurl}
cd helmez
tar -cvf ../bin/helmez-${i}.tar.gz .
cd ../
done

0 comments on commit 5fa42a8

Please sign in to comment.