Skip to content

Commit

Permalink
Fix nightly version format for patch releases
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Sep 18, 2022
1 parent 2d779a6 commit 700dd72
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .goreleaser-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dist: release
dist: nightly
release:
disable: true

Expand All @@ -19,6 +19,11 @@ builds:
- arm64
goarm:
- "6"
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64

archives:
- builds:
Expand All @@ -40,7 +45,7 @@ checksum:
name_template: "checksums.txt"

snapshot:
name_template: "{{ .Version }}.{{ .Timestamp }}"
name_template: '{{ .Version }}{{ if eq (len (split .Version ".")) 2 }}.0{{ end }}-{{ .Timestamp }}'

changelog:
sort: asc
Expand Down

0 comments on commit 700dd72

Please sign in to comment.