Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-16654: [Dev][Archery] Support cherry-picking for major releases
Run the following to see what would happens without executing it: ``` archery release --jira-cache /tmp/jiracache cherry-pick 9.0.0 ``` Try creating a `maint-9.0.0` branch based off of the `master` branch: ``` archery release --jira-cache /tmp/jiracache cherry-pick 9.0.0 --execute ``` Now there should be the `maint-9.0.0` branch checked out locally. Rerunning the previous command with `--continue` option would do nothing since there are no new commits to apply: ``` archery release --jira-cache /tmp/jiracache cherry-pick 9.0.0 --execute --continue ``` So simulate new commits be resetting `maint-9.0.0` branch to three commits before the current master: ``` git branch -f maint-9.0.0 master~3 ``` Apply the new patches: ``` archery release --jira-cache /tmp/jiracache cherry-pick 9.0.0 --execute --continue ``` Closes #13230 from kszucs/ARROW-16654 Authored-by: Krisztián Szűcs <szucs.krisztian@gmail.com> Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
- Loading branch information
Showing
3 changed files
with
75 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters