diff options
-rw-r--r-- | .expeditor/update_dep.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.expeditor/update_dep.sh b/.expeditor/update_dep.sh index 656c2346ca..6114e71b73 100644 --- a/.expeditor/update_dep.sh +++ b/.expeditor/update_dep.sh @@ -11,8 +11,10 @@ set -evx -branch="expeditor/${GEM_NAME}_${VERSION}" -git checkout -b "$branch" +release_branch="chef-14" +new_branch="expeditor/${GEM_NAME}_${VERSION}" +git checkout "$release_branch" +git checkout -b "$new_branch" bundle install @@ -29,8 +31,8 @@ git add . # DCO sign-off is needed for this sort of PR since it contains no intellectual property git commit --message "Bump $GEM_NAME to $VERSION" --message "This pull request was triggered automatically via Expeditor when $GEM_NAME $VERSION was promoted to Rubygems." --message "This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required." -open_pull_request "chef-14" +open_pull_request "$release_branch" # Get back to master and cleanup the leftovers - any changed files left over at the end of this script will get committed to master. git checkout - -git branch -D "$branch" +git branch -D "$new_branch" |