fix: abort conflicting cherry-pick before starting new one #146
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.
Thank you for submitting this pull request
fixes #144
Description
When the process should backport the same change to multiple target branches, before checking out the next target branch:
cherry-pick --abort
How Has This Been Tested?
Manually tested running:
The
develop
backport should work, theprod
one shouldn't, here the output:As you can see, the first one (against
prod
) failed but the second one (againstdevelop
) succeeded as expected.Checklist
Merge criteria:
First time here?
This project follows git conventional commits pattern, therefore the commits should have the following format:
Where the type must be one of
[build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test]
How to prepare for a new release?
There is no need to manually update
package.json
version andCHANGELOG.md
information. This process has been automated in Prepare Release Github workflow.Therefore whenever enough changes are merged into the
main
branch, one of the maintainers will trigger this workflow that will automatically updateversion
andchangelog
based on the commits on the git tree.More details can be found in package release section of the README.