mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-25 17:12:50 +00:00
- Changed the archive name template in .goreleaser.yaml for better clarity. - Added a new section in README files to document the UI installation process for versions v4.0.0 and above. - Removed the old release workflow file and updated the releaser.yaml to include artifact synchronization to OSS. - Introduced a new script (downloadKubekey.sh) for downloading binaries with UI support. Signed-off-by: redscholar <blacktiledhouse@gmail.com>
41 lines
597 B
YAML
41 lines
597 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 }}"
|
|
flags:
|
|
- -trimpath
|
|
tags:
|
|
- builtin
|
|
|
|
archives:
|
|
- format: tar.gz
|
|
name_template: "kubekey-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
|
|
files:
|
|
- none*
|
|
|
|
checksum:
|
|
name_template: "{{ .ProjectName }}_v{{ .Version }}_checksums.txt"
|
|
|
|
release:
|
|
prerelease: auto
|
|
|
|
universal_binaries:
|
|
- replace: true
|