Adding in cherry-pick into prepare branch and push (#18499)

This commit is contained in:
George Karr 2024-04-24 17:22:24 -05:00 committed by GitHub
parent a7f3505785
commit d3b821cf47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -855,6 +855,13 @@ if [[ "$failed" == "false" ]]; then
echo "DRYRUN: Would have switched back to branch $target_patch_branch"
fi
if [[ "$main_release" == "false" ]]; then
# Cherry-pick from update-changelog-branch
ch_commit=`git log -n 1 --pretty=format:"%H" $update_changelog_branch`
git cherry-pick $ch_commit
git push origin $target_patch_branch -f
fi
# Check for QA issue
create_qa_issue