mirror of https://github.com/ceph/ceph-ansible.git
contrib: update backport script to reflect stable branch
Since we now do backports on stable-3.0 and stable-3.1 we have to use the name of the stable branch in the backport branch name. If we don't do this we will end up with conflicting branch names. Signed-off-by: Sébastien Han <seb@redhat.com>pull/2574/head
parent
26f6a65042
commit
0b803fc16a
|
@ -11,7 +11,7 @@ stable_branch=$1
|
|||
commit=$2
|
||||
bkp_branch_name=$3
|
||||
bkp_branch_name_prefix=bkp
|
||||
bkp_branch=$bkp_branch_name-$bkp_branch_name_prefix
|
||||
bkp_branch=$bkp_branch_name-$bkp_branch_name_prefix-$stable_branch
|
||||
|
||||
|
||||
#############
|
||||
|
@ -89,8 +89,8 @@ checkout
|
|||
cherry_pick
|
||||
push
|
||||
create_pr <<MSG
|
||||
Backport of ${3}
|
||||
Backport of ${3} in $stable_branch
|
||||
|
||||
Backport of #${3}
|
||||
Backport of #${3} in $stable_branch
|
||||
MSG
|
||||
cleanup
|
||||
|
|
Loading…
Reference in New Issue