contrib: backport auto create PR

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/2026/head
Sébastien Han 2017-10-11 14:47:43 +02:00
parent f50b170a49
commit 32625c5e2b
1 changed files with 5 additions and 0 deletions

View File

@ -59,6 +59,10 @@ push () {
git push origin "$bkp_branch"
}
create_pr () {
hub pull-request -h "$bkp_branch" -h origin:"$bkp_branch" -b origin:"$stable_branch" -m "[skip ci]"
}
cleanup () {
echo "Moving back to previous branch"
git checkout -
@ -84,4 +88,5 @@ verify_commit
checkout
cherry_pick
push
create_pr
cleanup