diff options
author | Marc A. Paradise <marc.paradise@gmail.com> | 2021-03-09 15:29:54 -0500 |
---|---|---|
committer | Marc A. Paradise <marc.paradise@gmail.com> | 2021-03-10 12:57:09 -0500 |
commit | eb13542a6f063163e3d69d94bf42fb61b19f203a (patch) | |
tree | 125c06a20576c369a16168387ee6094ecf6cda33 /.expeditor | |
parent | fdd562f543acc85d22ada02964f11826843384af (diff) | |
download | chef-eb13542a6f063163e3d69d94bf42fb61b19f203a.tar.gz |
Teach update_version about knife gem
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
Diffstat (limited to '.expeditor')
-rwxr-xr-x | .expeditor/update_version.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.expeditor/update_version.sh b/.expeditor/update_version.sh index 2a75c4b2f9..eb622cb2fd 100755 --- a/.expeditor/update_version.sh +++ b/.expeditor/update_version.sh @@ -16,10 +16,14 @@ VERSION=$(cat VERSION) sed -i -r "s/^(\s*)VERSION = \".+\"/\1VERSION = \"${VERSION}\"/" chef-config/lib/chef-config/version.rb sed -i -r "s/^(\s*)VERSION = \".+\"/\1VERSION = \"${VERSION}\"/" chef-bin/lib/chef-bin/version.rb sed -i -r "s/^(\s*)VERSION = \".+\"/\1VERSION = \"${VERSION}\"/" chef-utils/lib/chef-utils/version.rb +sed -i -r "s/^(\s*)VERSION = \".+\"/\1VERSION = \"${VERSION}\"/" knife/lib/chef/knife/version.rb sed -i -r "s/VersionString\.new\(\".+\"\)/VersionString.new(\"${VERSION}\")/" lib/chef/version.rb # Update the version inside Gemfile.lock bundle update chef chef-config chef-utils --jobs=7 --conservative +cd knife +bundle update knife --jobs=7 --conservative + # Once Expeditor finishes executing this script, it will commit the changes and push # the commit as a new tag corresponding to the value in the VERSION file. |