Repository navigation
Release workflow: always publish as a pre-release, promote to latest by hand - #201
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every tag build now publishes its release as a pre-release, whatever the tag. Previously only tags containing a hyphen (
v2.0.0-beta1) were pre-releases, so taggingv2.0.0would have made it "Latest" immediately, and every script downloadingreleases/latestwould have moved from 1.0.4 to 2.0.0 at once.Releases are now promoted by hand once checked:
What
build.yaml:prerelease: trueon the release step.CLAUDE.md: the release process says the release is published as a pre-release and how to promote it.Effect on the GitHub Actions
None: they download pluginval by exact tag, which works for pre-releases (they already use the
v2.0.0-beta3pre-release). The plan is to switch their defaultpluginval-versiontolatestwhen 2.0.0 is promoted, so promoting a release is also what moves the actions on, and the per-releaseaction.ymlbump goes away.Testing
Only runs on a tag push, so it'll be exercised by the next tag. The YAML parses, and the step's
prereleasevalue istrue.Need help on this PR? Tag
@codesmith-botwith what you need.