summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-03-24 21:19:35 -0700
committerGitHub <noreply@github.com>2021-03-24 21:19:35 -0700
commit45001e42befdf915f9f4cdd7eca8b69c55dee654 (patch)
treef10d5a534a2e180b0d333a140bec9d126e50979b
parent6ad44e16e677e5bad658bce1fdef4674ce493732 (diff)
parentcdb81743278718b2ecc8f5f72e76be3b6b1cb9bb (diff)
downloadchef-45001e42befdf915f9f4cdd7eca8b69c55dee654.tar.gz
Merge pull request #11235 from chef/fix_expeditor
Make sure we have Ruby 2.5 before bumping the version
-rwxr-xr-x.expeditor/update_version.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.expeditor/update_version.sh b/.expeditor/update_version.sh
index b362157d4b..25bd08e67d 100755
--- a/.expeditor/update_version.sh
+++ b/.expeditor/update_version.sh
@@ -17,6 +17,8 @@ sed -i -r "s/^(\s*)VERSION = \".+\"/\1VERSION = \"$(cat VERSION)\"/" chef-utils/
sed -i -r "s/VersionString\.new\(\".+\"\)/VersionString.new(\"$(cat VERSION)\")/" lib/chef/version.rb
# Update the version inside Gemfile.lock
+asdf install ruby 2.5.7
+asdf global ruby 2.5.7
bundle update chef chef-config chef-utils --jobs=7 --conservative
# Once Expeditor finishes executing this script, it will commit the changes and push