Update Release Drafter for Dev Branches #387
Open
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.
Changes the way release drafter handles drafting releases on repos with release branches (which have dev branches now).
Ultimately, a release is drafted for the dev branch and the release branch. The releases are differentiated by both their release title and tag.
release-v<version>
v<version>
dev-v<version>
dev-v<version>
Note that the tag for the release branch follows the same convention as existing release tags.
The "release branch" release includes all pull requests made to the dev branch with the
type:backport
label since the last "dev branch" release. For this reason, the "dev branch" and "release branch" should be released at the same time. Then, this effectively results in the "release branch" having all relevant changes since the last release. The "dev branch" release will be based at the same point in history as the "release branch" release but include all changes not just those with thetype:backport
label.The "release branch" release for the current release branch should be marked as "latest". For example, if "release/202311" and "release/202405" exist, the "release/202405" "release branch" release would be marked as latest.
The
release-drafter/release-drafter
action is still used.