summaryrefslogtreecommitdiff
path: root/.expeditor
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-08-22 10:57:17 -0700
committerTim Smith <tsmith@chef.io>2018-08-22 10:57:17 -0700
commit7544e3dbec7e768571e9e76ceb7aa09eec4123d6 (patch)
treee5f13b5e38e6a5440ea9cd8b3815d52ecddee5a9 /.expeditor
parent4332122132da81eac1f3ab0f28f3cbce365b85a4 (diff)
downloadchef-7544e3dbec7e768571e9e76ceb7aa09eec4123d6.tar.gz
Fix how dep bumping works
Update this to the same script we use in DK Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.expeditor')
-rw-r--r--.expeditor/update_dep.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/.expeditor/update_dep.sh b/.expeditor/update_dep.sh
index a27df411d5..4b839a8a7f 100644
--- a/.expeditor/update_dep.sh
+++ b/.expeditor/update_dep.sh
@@ -1,11 +1,12 @@
-#!/bin/sh
+#!/bin/bash
set -evx
branch="expeditor/${GEM_NAME}_${VERSION}"
git checkout -b "$branch"
-bundle update $GEM_NAME
+bundle install
+bundle exec rake dependencies:update
git add .
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."