From c9c00c92fe4c4bcbadb9af9eac0bea1b2ac1253f Mon Sep 17 00:00:00 2001 From: Zhang Junyang Date: Thu, 20 Jun 2024 17:11:47 +0000 Subject: [PATCH] Fix the OSDK doc env test container version bumping that was left off --- tools/bump_version.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/bump_version.sh b/tools/bump_version.sh index 71434c7fe..23c586bb4 100755 --- a/tools/bump_version.sh +++ b/tools/bump_version.sh @@ -23,7 +23,10 @@ update_package_version() { # Update Docker image versions (`asterinas/asterinas:{version}`) in file $1 update_image_versions() { echo "Updating file $1" + # Update the version of the development container sed -i "s/asterinas\/asterinas:[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+/asterinas\/asterinas:${new_version}/g" $1 + # Update the test environment described in the OSDK manual + sed -i "s/asterinas\/osdk:[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+/asterinas\/osdk:${new_version}/g" $1 } # Print the help message