archive binaries without version number, use commit timestamp as mod_timestamp

This commit is contained in:
Bastian Doetsch 2022-03-06 19:31:40 +01:00
parent 31859569fc
commit a6992b2373

View File

@ -14,6 +14,7 @@ builds:
- linux
- windows
- darwin
mod_timestamp: "{{ .CommitTimestamp }}"
archives:
- replacements:
darwin: Darwin
@ -21,6 +22,8 @@ archives:
windows: Windows
386: i386
amd64: x86_64
format: binary
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: 'checksums.txt'
snapshot: