Repository navigation
Let a release dispatch name the version - #4935
Merged
Merged
Conversation
A failed release leaves a draft release and a tag that release-drafter reuses, so the next dispatch cannot move to a clean version. The `version` input overrides the calculated version, and an empty input keeps today's behaviour. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.
The
Releaseworkflow takes an optionalversioninput that overrides the version release-drafter calculates.Affects: Automation
Prompt summary: Force a 1.80.0 release after the 1.79.0 attempts left a draft release, a tag and partly deployed artifacts behind.
Why
A release that fails part way leaves a draft release and a tag. Release-drafter reuses both on the next dispatch, so run 44271615615 failed at
Create tag(the tag existed) and run 44272054694 failed atgh release upload(the assets existed). The version is always calculated from the last published release, so a dispatch cannot move on to the next version.What
Version input
workflow_dispatchtakes an optionalversionstring, passed to theversion:input of release-drafter, which overrides the calculated version. An empty value leaves the calculated version in place, so a dispatch without the input behaves as before.Risk: A dispatch deploys the containers and the prod Lambdas. A wrong
versioncreates a draft release and a tag with that name.Verify