Skip to content

Commit

Permalink
fix(ci): ignore nightly tags when comparing stable releases (#935)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr authored Jun 8, 2024
1 parent 72aecd2 commit 9aa8332
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
before:
hooks:
- go mod tidy

git:
ignore_tags:
- "{{ if not .IsNightly }}*-rc*{{ end }}"

builds:
- binary: shiori
env:
Expand All @@ -26,6 +31,7 @@ builds:
goarch: arm
- goos: windows
goarch: arm64

archives:
- id: shiori
name_template: >-
Expand All @@ -47,8 +53,10 @@ archives:

checksum:
name_template: 'checksums.txt'

snapshot:
name_template: "{{ incpatch .Version }}-next"

changelog:
sort: asc
groups:
Expand Down Expand Up @@ -79,5 +87,6 @@ changelog:
exclude:
- "^deps:"
- "^chore\\(deps\\):"

release:
prerelease: auto

0 comments on commit 9aa8332

Please sign in to comment.