Skip to content

Commit

Permalink
Updates goreleaser.yaml to mark nightly builds as pre-release (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
punkwalker authored Nov 23, 2024
1 parent 4d9f1a0 commit a659417
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ project_name: idpbuilder
before:
hooks:
- go mod tidy
release:
# Mark nightly build as prerelease based on tag
prerelease: '{{ contains .Tag "-nightly" }}'

builds:
- env:
- CGO_ENABLED=0
Expand All @@ -29,7 +33,7 @@ archives:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
Expand Down

0 comments on commit a659417

Please sign in to comment.