Skip to content

Commit

Permalink
enabled tar gzip and little logging while build
Browse files Browse the repository at this point in the history
  • Loading branch information
vyshakhp committed Jul 17, 2018
1 parent 5fa42a8 commit df752eb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ rm -rf bin
mkdir bin
for i in "${archs[@]}"
do
rm helmez/helmez-bin
binurl="https://github.com/ysaakpr/helmez-bin/releases/download/${BINVERSION}/helmez-bin.${i}"
curl -L -o helmez/helmez-bin ${binurl}
echo building ${i}, with bin version ${BINVERSION}
echo url : ${binurl}
cd helmez
tar -cvf ../bin/helmez-${i}.tar.gz .
rm helmez-bin

curl -L -o helmez-bin ${binurl}
tar -zcvf ../bin/helmez-${i}.tar.gz .
cd ../
done

0 comments on commit df752eb

Please sign in to comment.