coder / sshcode

Run VS Code on any server over SSH.
MIT License
5.74k stars 216 forks source link

Compress tarball with gzip #142

Closed grhbit closed 4 years ago

grhbit commented 4 years ago

https://github.com/cdr/sshcode/blob/7e6845d1bda59a90b09f90b8fc7815cdc23267c5/ci/build.sh#L13-L14

Why not add an option z to compress for gzip?

Like this

tarname=sshcode-$GOOS-$GOARCH.tar.gz
tar -czf $tarname sshcode 
deansheather commented 4 years ago

Sounds good to me, cdr/sail does this already. Feel free to create a PR for this.