kubekey/.goreleaser.yaml
liujian 86ff6371b6
Uninstall docker interface (#2478)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-05 18:55:12 +08:00

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