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

Commit 4f12e8f

Browse files
authored
Merge pull request #143 from grhbit/ci-build-tar-gzip
Update tarname and tar option for ci build
2 parents 7e6845d + 6277c6b commit 4f12e8f

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)