change circle
This commit is contained in:
parent
d657f24811
commit
c451540d85
|
@ -50,14 +50,11 @@ jobs:
|
||||||
<<: *golang
|
<<: *golang
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run: XC_ARCH=amd64 XC_OS="linux windows darwin" GOLDFLAGS="-s -w" ./scripts/build.sh
|
||||||
name: Create windows, linux, and mac zipped binaries.
|
- run: mkdir ./pkg/zipped_packers
|
||||||
command: |
|
- run: zip ./pkg/zipped_packers/packer_darwin.zip pkg/darwin_amd64/packer
|
||||||
XC_ARCH=amd64 XC_OS="linux windows darwin" GOLDFLAGS="-s -w" ./scripts/build.sh;
|
- run: zip ./pkg/zipped_packers/packer_windows.zip pkg/windows_amd64/packer
|
||||||
mkdir ./pkg/zipped_packers
|
- run: zip ./pkg/zipped_packers/packer_linux.zip pkg/linux_amd64/packer
|
||||||
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
|
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ./pkg/zipped_packers
|
path: ./pkg/zipped_packers
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue