2022-02-01 23:02:30 +00:00
# Make sure to check the documentation at http://goreleaser.com
2025-04-11 13:59:01 +00:00
version : 2
2022-02-01 23:02:30 +00:00
builds :
2022-07-04 20:39:34 +00:00
- ldflags :
2025-04-11 13:59:01 +00:00
- -w -s -X "github.com/kairos-io/kairos-agent/v2/internal/common.VERSION={{.Tag}}" -X "github.com/kairos-io/kairos-agent/v2/internal/common.gitCommit={{.Commit}}"
2022-07-04 20:39:34 +00:00
env :
- CGO_ENABLED=0
goos :
- linux
goarch :
- amd64
2022-08-17 08:40:24 +00:00
- arm64
2023-01-28 16:55:26 +00:00
binary : '{{ .ProjectName }}'
2025-04-11 13:59:01 +00:00
id : default
- ldflags :
- -w -s -X "github.com/kairos-io/kairos-agent/v2/internal/common.VERSION={{.Tag}}" -X "github.com/kairos-io/kairos-agent/v2/internal/common.gitCommit={{.Commit}}"
env :
- CGO_ENABLED=1
- GOEXPERIMENT=boringcrypto
goos :
- linux
goarch :
- amd64
binary : '{{ .ProjectName }}'
id : fips-amd64
- ldflags :
- -w -s -X "github.com/kairos-io/kairos-agent/v2/internal/common.VERSION={{.Tag}}" -X "github.com/kairos-io/kairos-agent/v2/internal/common.gitCommit={{.Commit}}"
env :
- CGO_ENABLED=1
- GOEXPERIMENT=boringcrypto
- CC=aarch64-linux-gnu-gcc
goos :
- linux
goarch :
- arm64
binary : '{{ .ProjectName }}'
id : fips-arm64
2022-02-01 23:02:30 +00:00
source :
enabled : true
name_template : '{{ .ProjectName }}-{{ .Tag }}-source'
archives :
2025-04-11 13:59:01 +00:00
- id : default-archive
ids :
- default
name_template : '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
- id : fips-archive
ids :
- fips-arm64
- fips-amd64
name_template : '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}-fips'
2022-02-01 23:02:30 +00:00
checksum :
name_template : '{{ .ProjectName }}-{{ .Tag }}-checksums.txt'
snapshot :
2025-04-11 13:59:01 +00:00
version_template : "{{ .Tag }}-next"
2022-02-01 23:02:30 +00:00
changelog :
sort : asc
filters :
exclude :
- '^docs:'
- '^test:'
2022-02-04 22:20:25 +00:00
- '^Merge pull request'
2024-05-30 05:45:59 +00:00
env :
- GOSUMDB=sum.golang.org
before :
hooks :
2024-07-11 09:36:54 +00:00
- go mod tidy