diff --git a/.travis.yml b/.travis.yml index b8fd50a91902f50f7bf0c4167d5811fb776afa31..2d90ff29bf21adad2adaf211cbf28b86287f6fc2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,9 +24,7 @@ before_deploy: - go get github.com/mitchellh/gox - mkdir releases - gox -osarch='!netbsd/arm !openbsd/386 !openbsd/amd64 !netbsd/386 !netbsd/amd64' -output="releases/{{.Dir}}_`git describe --tags --abbrev=0`_{{.OS}}_{{.Arch}}/{{.Dir}}" - # Below tar command will log an error because either ...-hetzner or - # ...-hetzner.exe are missing. The process continues, though and the - # created tarballs are fine. + # Loop through the built architecture directories and create their corresponding tar.gz archives with the binary in it. - find releases -maxdepth 2 -mindepth 2 -type f -exec bash -c 'tar -cvzf "$(dirname {}).tar.gz" -C "$(dirname {})" $(basename {})' \; deploy: