Use tag instead of version for archive release

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka 2025-04-11 18:33:33 +02:00
parent 3bf6a1e612
commit 4c2891e33b
No known key found for this signature in database
GPG Key ID: FF934753A9D6AC56

View File

@ -49,12 +49,12 @@ archives:
- id: default-archive - id: default-archive
ids: ids:
- default - default
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}' name_template: '{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
- id: fips-archive - id: fips-archive
ids: ids:
- fips-arm64 - fips-arm64
- fips-amd64 - fips-amd64
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}-fips' name_template: '{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}-fips'
checksum: checksum:
name_template: '{{ .ProjectName }}-{{ .Tag }}-checksums.txt' name_template: '{{ .ProjectName }}-{{ .Tag }}-checksums.txt'
snapshot: snapshot: