actually zip binary now

This commit is contained in:
Adrien Delorme 2019-05-09 16:08:24 +02:00
parent 48eaf9ea5f
commit 03e3c32f4e
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ defaults: &golang
steps:
- checkout
- run: go build -o ./pkg/packer_$(go env GOOS)_$(go env GOARCH) .
- run: zip ./pkg/packer_$(go env GOOS)_$(go env GOARCH) ./pkg/
- run: zip ./pkg/packer_$(go env GOOS)_$(go env GOARCH).zip ./pkg/packer_$(go env GOOS)_$(go env GOARCH)
- run: rm ./pkg/packer_$(go env GOOS)_$(go env GOARCH)
- persist_to_workspace:
root: .