change circle

This commit is contained in:
Megan Marsh 2019-05-08 16:10:00 -07:00
parent d657f24811
commit c451540d85
1 changed files with 5 additions and 8 deletions

View File

@ -50,14 +50,11 @@ jobs:
<<: *golang
steps:
- checkout
- run:
name: Create windows, linux, and mac zipped binaries.
command: |
XC_ARCH=amd64 XC_OS="linux windows darwin" GOLDFLAGS="-s -w" ./scripts/build.sh;
mkdir ./pkg/zipped_packers
zip ./pkg/zipped_packers/packer_darwin.zip pkg/darwin_amd64/packer;
zip ./pkg/zipped_packers/packer_windows.zip pkg/windows_amd64/packer
zip ./pkg/zipped_packers/packer_linux.zip pkg/linux_amd64/packer
- run: XC_ARCH=amd64 XC_OS="linux windows darwin" GOLDFLAGS="-s -w" ./scripts/build.sh
- run: mkdir ./pkg/zipped_packers
- run: zip ./pkg/zipped_packers/packer_darwin.zip pkg/darwin_amd64/packer
- run: zip ./pkg/zipped_packers/packer_windows.zip pkg/windows_amd64/packer
- run: zip ./pkg/zipped_packers/packer_linux.zip pkg/linux_amd64/packer
- store_artifacts:
path: ./pkg/zipped_packers