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

Compress tarball with gzip #142

Closed
grhbit opened this issue Sep 21, 2019 · 1 comment
Closed

Compress tarball with gzip #142

grhbit opened this issue Sep 21, 2019 · 1 comment

Comments

@grhbit
Copy link
Contributor

grhbit commented Sep 21, 2019

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
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants