Skip to content

Commit e61dc8f

Browse files
committed
Use tag instead of version for release archive
Signed-off-by: Itxaka <[email protected]>
1 parent 1182776 commit e61dc8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.goreleaser.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ archives:
4242
- id: default-archive
4343
ids:
4444
- default
45-
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
45+
name_template: '{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
4646
- id: fips-archive
4747
ids:
4848
- fips-arm64
4949
- fips-amd64
50-
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}-fips'
50+
name_template: '{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}-fips'
5151
checksum:
5252
name_template: '{{ .ProjectName }}-{{ .Tag }}-checksums.txt'
5353
snapshot:

0 commit comments

Comments
 (0)