mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-12 23:13:45 +00:00
chore: add condotional name for goreleaser snapshot
This commit is contained in:
parent
d83deb470b
commit
5359b9056a
1 changed files with 11 additions and 3 deletions
|
|
@ -23,18 +23,26 @@ archives:
|
||||||
- format: tar.gz
|
- format: tar.gz
|
||||||
name_template: >-
|
name_template: >-
|
||||||
{{- .Binary }}_
|
{{- .Binary }}_
|
||||||
{{- .Version }}_
|
{{- if .IsSnapshot }}{{ .ShortCommit }}_
|
||||||
|
{{- else }}{{ .Version }}_
|
||||||
|
{{ end }}
|
||||||
{{- title .Os }}_
|
{{- title .Os }}_
|
||||||
{{- if eq .Arch "amd64" }}x86_64
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
{{- else if eq .Arch "386" }}i386
|
{{- else if eq .Arch "386" }}i386
|
||||||
{{- else }}{{ .Arch }}{{ end }}
|
{{- else }}{{ .Arch }}
|
||||||
|
{{ end }}
|
||||||
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: mev-commit-geth_{{ .Version }}_checksums.txt
|
name_template: >-
|
||||||
|
mev-commit-geth_
|
||||||
|
{{- if .IsSnapshot }}{{ .ShortCommit }}
|
||||||
|
{{- else }}{{ .Version }}
|
||||||
|
{{ end }}
|
||||||
|
_checksums.txt
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue