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>
(cherry picked from commit f6bfb74)
  • Loading branch information
nathanmartinszup committed Apr 4, 2022
1 parent 18e414d commit 4b5e024
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 4b5e024

Please sign in to comment.