You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add --custom-script option to honor to call a script that runs before creating the backported pull request. This particular option will allow to customise the backport process after the cherry-picking.
This option will need to the follow:
Run the given script
Commit any new changes.
Then the backport process should proceed as usual.
Why
My use case is to allow developers to run backport locally and enable certain level of customisation for those backports.
A real use case:
ACME project will have a major release
The major release will have the major update version in the import paths.
While backporting to the previous releases will require to downgrade those import paths, and this when the --custom-script could help.
The text was updated successfully, but these errors were encountered:
could generate the commit message generated by the custom-script 'downgrade-imports.sh'
What do you think?
If multiple commits were selected for backporting should the script run after each of them are cherry picket or once when all are?
I'd say the latter, so if needed it could be added a new flag --custom-script-per-cherry-pick or something similar to support one script call per cherry-pick .
What
Add
--custom-script
option to honor to call a script that runs before creating the backported pull request. This particular option will allow to customise the backport process after the cherry-picking.This option will need to the follow:
Then the backport process should proceed as usual.
Why
My use case is to allow developers to run backport locally and enable certain level of customisation for those backports.
A real use case:
--custom-script
could help.The text was updated successfully, but these errors were encountered: