Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Commit

Permalink
Update tarname and tar option for ci build
Browse files Browse the repository at this point in the history
Closes #142
  • Loading branch information
grhbit committed Sep 21, 2019
1 parent 7e6845d commit 6277c6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ build(){
go build -ldflags "-X main.version=${tag}" -o $tmpdir/sshcode

pushd $tmpdir
tarname=sshcode-$GOOS-$GOARCH.tar
tar -cf $tarname sshcode
tarname=sshcode-$GOOS-$GOARCH.tar.gz
tar -czf $tarname sshcode
popd
cp $tmpdir/$tarname bin
rm -rf $tmpdir
Expand Down

0 comments on commit 6277c6b

Please sign in to comment.