summaryrefslogtreecommitdiff
path: root/.expeditor
diff options
context:
space:
mode:
authorNeha Pansare <neha.pansare@progress.com>2022-09-22 20:08:08 +0530
committerNeha Pansare <neha.pansare@progress.com>2022-09-22 20:08:08 +0530
commitb33599db2bc84cc3700ffe60f8c96011ed476328 (patch)
tree0f45e556a576842420ca29a271a56e818d4c6cc3 /.expeditor
parentf4d8f61810b3920c3d1affc061240ee007e1d35a (diff)
downloadchef-b33599db2bc84cc3700ffe60f8c96011ed476328.tar.gz
Update expeditor script updating versions in lock file to make updates in knife Gemfile.lock as well for CHef's latest version
Signed-off-by: Neha Pansare <neha.pansare@progress.com>
Diffstat (limited to '.expeditor')
-rwxr-xr-x.expeditor/update_version.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.expeditor/update_version.sh b/.expeditor/update_version.sh
index c8e71e5983..18599cc18a 100755
--- a/.expeditor/update_version.sh
+++ b/.expeditor/update_version.sh
@@ -27,5 +27,8 @@ sed -i -r "s/(^\s+chef-bin\s+.+)${ORIGINAL_VERSION}(.+)/\1${VERSION}\2/" Gemfile
sed -i -r "s/(^\s+chef-config\s+.+)${ORIGINAL_VERSION}(.+)/\1${VERSION}\2/" Gemfile.lock
sed -i -r "s/(^\s+chef-utils\s+.+)${ORIGINAL_VERSION}(.+)/\1${VERSION}\2/" Gemfile.lock
+#Update the version in knife/Gemfile.lock
+sed -i -r "s/(^\s+chef\s+.+)${ORIGINAL_VERSION}(.+)/\1${VERSION}\2/" knife/Gemfile.lock
+
# 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.