Skip to content

Commit 8f24efb

Browse files
committed
Fix tar command to include the .exe files as well
While the command outputs errors for all tarballs, the tarballs themselves are fine.
1 parent d3076d8 commit 8f24efb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ before_deploy:
2424
- go get github.com/mitchellh/gox
2525
- mkdir releases
2626
- gox -osarch="!netbsd/arm !openbsd/386 !openbsd/amd64 !netbsd/386 !netbsd/amd64" -output="releases/{{.Dir}}_`git describe --tags --abbrev=0`_{{.OS}}_{{.Arch}}/{{.Dir}}"
27-
- find releases -maxdepth 1 -mindepth 1 -type d -exec tar -cvzf {}.tar.gz -C {} docker-machine-driver-hetzner \;
27+
# Below tar command will log an error because either ...-hetzner or
28+
# ...-hetzner.exe are missing. The process continues, though and the
29+
# created tarballs are fine.
30+
- find releases -maxdepth 1 -mindepth 1 -type d -exec tar -cvzf {}.tar.gz -C {} docker-machine-driver-hetzner docker-machine-driver-hetzner.exe \;
2831

2932
deploy:
3033
# See https://docs.travis-ci.com/user/deployment/releases/

0 commit comments

Comments
 (0)