Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci/release): golreleaser pre-release behavior #3569

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

ramin
Copy link
Contributor

@ramin ramin commented Jul 16, 2024

Changes goreleaser.yml config to ensure that tags/releases are not automatically promoted to latest by adding the release.prerelease = auto config (previously defaulted to false), also set a proper pre-release suffix for tag filtering etc. This allows us to create signed binaries for pre-releases/release candidates.

Tested on a private branch and ensured that with release.prerelease: auto releases created in github and with the toggle "Set as a pre-release" set to true, goreleaser would NOT set them as latest upon publishing artifacts.

Copy link
Member

@renaynay renaynay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utack

@ramin ramin merged commit 5e6ef23 into main Jul 17, 2024
31 of 32 checks passed
@ramin ramin deleted the ci/allow-prerelease branch July 17, 2024 12:36
rootulp added a commit to rootulp/celestia-app that referenced this pull request Jul 17, 2024
There is an issue with goreleaser where it would automatically mark
release candidates as the latest release.

Motivated by celestiaorg/celestia-node#3569
evan-forbes pushed a commit to celestiaorg/celestia-app that referenced this pull request Jul 18, 2024
There is an issue with goreleaser where it will automatically mark
release candidates as the latest release.

Motivated by celestiaorg/celestia-node#3569

Thanks @ramin!
mergify bot pushed a commit to celestiaorg/celestia-app that referenced this pull request Jul 18, 2024
There is an issue with goreleaser where it will automatically mark
release candidates as the latest release.

Motivated by celestiaorg/celestia-node#3569

Thanks @ramin!

(cherry picked from commit 99d9def)
mergify bot pushed a commit to celestiaorg/celestia-app that referenced this pull request Jul 18, 2024
There is an issue with goreleaser where it will automatically mark
release candidates as the latest release.

Motivated by celestiaorg/celestia-node#3569

Thanks @ramin!

(cherry picked from commit 99d9def)
rootulp added a commit to celestiaorg/celestia-app that referenced this pull request Jul 18, 2024
…3702)

There is an issue with goreleaser where it will automatically mark
release candidates as the latest release.

Motivated by celestiaorg/celestia-node#3569

Thanks @ramin!<hr>This is an automatic backport of pull request #3701
done by [Mergify](https://mergify.com).

Co-authored-by: Rootul P <[email protected]>
rootulp added a commit to celestiaorg/celestia-app that referenced this pull request Jul 18, 2024
…3703)

There is an issue with goreleaser where it will automatically mark
release candidates as the latest release.

Motivated by celestiaorg/celestia-node#3569

Thanks @ramin!<hr>This is an automatic backport of pull request #3701
done by [Mergify](https://mergify.com).

Co-authored-by: Rootul P <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:ci CI related PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants