[8.x] ci(major-release): support run major release [0-9]+.0.0
(backport #15329)
#15398
+164
−9
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.
Motivation/summary
Support an automated process to create new major releases from
main
.At the moment, we use
8.x
for runningminor
releases, but we will eventually won't need to do that but runpatch
releases from8.x
and minor releases frommain
.This is just an automated process to help with the major releases, it behaves as minor releases but with the difference in the branch where things should be branched off or the support for the changelog/mergify thingy.
Checklist
For functional changes, consider:
How to test these changes
Major release
Given this PR, let's run the major-release target using my forked repository for the hypothetical release of
9.0.0
.It created two PRs:
8.x
we create three PRs (two for main and one for8.x
)and updated 9.0 -> main...v1v:apm-server:9.0
Minor release
Then I ran the same for a new minor release
8.19.0
- but i required to sync up 8.xIt created three PRs:
Related issues
Part of #13968
This is an automatic backport of pull request #15329 done by [Mergify](https://mergify.com).