mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-24 08:31:47 +00:00
Merge pull request #378 from chanwit/windows-zip
change the windows binary release format to .zip
This commit is contained in:
commit
f72b323ab5
1 changed files with 25 additions and 8 deletions
|
|
@ -1,22 +1,39 @@
|
||||||
builds:
|
builds:
|
||||||
- main: ./cmd/gotk
|
- <<: &build_defaults
|
||||||
ldflags:
|
binary: gotk
|
||||||
- -s -w -X main.VERSION={{ .Version }}
|
main: ./cmd/gotk
|
||||||
binary: gotk
|
ldflags:
|
||||||
|
- -s -w -X main.VERSION={{ .Version }}
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
id: linux
|
||||||
goos:
|
goos:
|
||||||
- darwin
|
|
||||||
- linux
|
- linux
|
||||||
- windows
|
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
- arm64
|
||||||
- arm
|
- arm
|
||||||
goarm:
|
goarm:
|
||||||
- 7
|
- 7
|
||||||
env:
|
- <<: *build_defaults
|
||||||
- CGO_ENABLED=0
|
id: darwin
|
||||||
|
goos:
|
||||||
|
- darwin
|
||||||
|
- <<: *build_defaults
|
||||||
|
id: windows
|
||||||
|
goos:
|
||||||
|
- windows
|
||||||
archives:
|
archives:
|
||||||
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||||
|
id: nix
|
||||||
|
builds: [linux, darwin]
|
||||||
|
format: tar.gz
|
||||||
|
files:
|
||||||
|
- none*
|
||||||
|
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||||
|
id: windows
|
||||||
|
builds: [windows]
|
||||||
|
format: zip
|
||||||
files:
|
files:
|
||||||
- none*
|
- none*
|
||||||
brews:
|
brews:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue