Skip to content

Commit a7fd058

Browse files
committed
Use period as separator for snapshot builds
A tilde ("~") always sorts first on Debian-based systems while empty parts are equal to zero (see [1]). Development snapshot builds are named starting with the most recent tag, so sorting them before that tag is not desirable. [1] https://www.debian.org/doc/debian-policy/ch-controlfields.html#version
1 parent 18c9fe5 commit a7fd058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ release:
4444
prerelease: auto
4545

4646
snapshot:
47-
name_template: '{{ .Tag }}~snapshot{{ replace (replace .Date ":" "") "-" "" }}-g{{ .ShortCommit }}'
47+
name_template: '{{ .Tag }}.snapshot{{ replace (replace .Date ":" "") "-" "" }}.g{{ .ShortCommit }}'
4848

4949
# vim: set sw=2 sts=2 et :

0 commit comments

Comments
 (0)