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

Commit 6277c6b

Browse files
committed
Update tarname and tar option for ci build
Closes #142
1 parent 7e6845d commit 6277c6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ build(){
1010
go build -ldflags "-X main.version=${tag}" -o $tmpdir/sshcode
1111

1212
pushd $tmpdir
13-
tarname=sshcode-$GOOS-$GOARCH.tar
14-
tar -cf $tarname sshcode
13+
tarname=sshcode-$GOOS-$GOARCH.tar.gz
14+
tar -czf $tarname sshcode
1515
popd
1616
cp $tmpdir/$tarname bin
1717
rm -rf $tmpdir

0 commit comments

Comments
 (0)