Skip to content

Commit

Permalink
goreleaser:bugfix - adding release auto (#1027)
Browse files Browse the repository at this point in the history
Before every release was released as a draft, in this way it was
possible to define which releases should be published as a pre release
and which not. After pull request 578e883, all releases are published
directly without the possibility to define betas and rcs as pre
releases.

This pull request changes the goreleaser configuration file to
automatically define which ones should be published as pre releases.
For this the pre release:auto attribute was added, for more information
follow the documentation link
https://goreleaser.com/customization/release/?h=release#release.

Signed-off-by: Nathan Martins <nathan.martins@zup.com.br>
  • Loading branch information
nathanmartinszup authored Mar 11, 2022
1 parent 358fd4a commit f6bfb74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ checksum:
name_template: 'checksums.txt'
release:
draft: false
prerelease: auto
mode: append
footer: |
## Docker images
Expand Down

0 comments on commit f6bfb74

Please sign in to comment.