diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-03-24 21:17:53 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-03-24 21:17:53 -0700 |
commit | cdb81743278718b2ecc8f5f72e76be3b6b1cb9bb (patch) | |
tree | f10d5a534a2e180b0d333a140bec9d126e50979b | |
parent | 6ad44e16e677e5bad658bce1fdef4674ce493732 (diff) | |
download | chef-cdb81743278718b2ecc8f5f72e76be3b6b1cb9bb.tar.gz |
Make sure we have Ruby 2.5 before bumping the version
This fails when we use ruby 2.7 on the current setup
Signed-off-by: Tim Smith <tsmith@chef.io>
-rwxr-xr-x | .expeditor/update_version.sh | 2 |
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 |