]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
contrib: backport auto create PR 2026/head
authorSébastien Han <seb@redhat.com>
Wed, 11 Oct 2017 12:47:43 +0000 (14:47 +0200)
committerSébastien Han <seb@redhat.com>
Wed, 11 Oct 2017 12:47:43 +0000 (14:47 +0200)
Signed-off-by: Sébastien Han <seb@redhat.com>
contrib/backport_to_stable_branch.sh

index 39632d6d510752f0a05094d1ea6871fcbe0f2ad3..b1b797ae5299c5a933c39b7c32439a853a02e902 100755 (executable)
@@ -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