mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-25 17:12:50 +00:00
Signed-off-by: joyceliu <joyceliu@yunify.com> Co-authored-by: joyceliu <joyceliu@yunify.com>
39 lines
574 B
YAML
39 lines
574 B
YAML
version: 2
|
|
|
|
env:
|
|
- GO111MODULE=on
|
|
- CGO_ENABLED=0
|
|
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
|
|
builds:
|
|
- main: ./cmd/kk/kubekey.go
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
binary: kk
|
|
ldflags: "{{ .Env.LDFLAGS }}"
|
|
tags:
|
|
- builtin
|
|
|
|
archives:
|
|
- format: tar.gz
|
|
name_template: "{{ .Binary }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
files:
|
|
- none*
|
|
|
|
checksum:
|
|
name_template: "{{ .ProjectName }}_v{{ .Version }}_checksums.txt"
|
|
|
|
release:
|
|
prerelease: auto
|
|
|
|
universal_binaries:
|
|
- replace: true
|