mirror of https://github.com/k3s-io/k3s
30 lines
536 B
YAML
30 lines
536 B
YAML
# goreleaser.yml
|
|
# https://github.com/goreleaser/goreleaser
|
|
build:
|
|
main: cmd/misspell/main.go
|
|
binary: misspell
|
|
ldflags: -s -w -X main.version={{.Version}}
|
|
goos:
|
|
- darwin
|
|
- linux
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
env:
|
|
- CGO_ENABLED=0
|
|
ignore:
|
|
- goos: darwin
|
|
goarch: 386
|
|
- goos: windows
|
|
goarch: 386
|
|
|
|
archive:
|
|
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
replacements:
|
|
amd64: 64bit
|
|
386: 32bit
|
|
darwin: mac
|
|
|
|
snapshot:
|
|
name_template: SNAPSHOT-{{.Commit}}
|