Commit
534d11eb12d4d3d7d71f7ff92c095a04b2560755
by noreplyfix(libraries): enhance the base global method `computeBranchFromPR` (#3262)
Support the hotfix branches and release feature branches for peer
components:
- Expect return regular release branches:
- release-X.Y => release-X.Y
- feature/release-X.Y-abc => release-X.Y
- feature_release-X.Y-abc => release-X.Y
- Expect return patch release branches for special components:
- release-6.1-20230101-v6.1.2 => release-6.1.2
- feature/release-8.1.1-abcdefg => release-8.1.1
- feature_release-8.1.1-abcdefg => release-8.1.1
- Expect return trunk branch for regular feature branches:
- feature/abcd => `<trunk branch>`
- feature_abcd => `<trunk branch>`
Signed-off-by: wuhuizuo <wuhuizuo@126.com>
Signed-off-by: wuhuizuo <wuhuizuo@126.com>
(commit: 534d11e)