Add dev branch support to release drafter #388
Labels
type:design-change
A new proposal or modification to a feature design
type:feature-request
A new feature proposal
Current Issue
The
release-drafter/release-drafter
GitHub action is used to apply semantic versioning to releases automatically drafted with categorized changes based on labels in the relevant pull requests to the release.With the move to
dev
branches, the release drafter as it is currently implemented does not work. Therelease
branch no longer has direct pull requests but instead changes automatically cherry-picked from its correspondingdev
branch. This means there are no PRs in the release branch to base the release information on.Proposed Change
All changes to a
release
branch should occur by the PR into thedev
branch having thetype:backport
label. Therefore, a list ofrelease
branch changes can be built off that information. However, the action needs to run against thedev
branch to get that which means thedev
branch also needs a release point. So, both thedev
andrelease
branches need a release and both releases should occur at the same time so the information from the lastrelease
branch release is consistent.The releases should be differentiated by both their release title and tag.
release-v<version>
v<version>
dev-v<version>
dev-v<version>
This keeps the
release
branch tag consistent with the tag used today. The titles differentiate the releases in GitHub.When making a release in GitHub, the
dev
branch release should be made first and then the correspondingrelease
branch release. Therelease
branch release for the latest release branch (e.g.202405
) should be marked aslatest
so it is obvious to a consumer what is the latest release for the latest Mu branch in the repo.The text was updated successfully, but these errors were encountered: