mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 08:53:29 +00:00
Fix the OSDK doc env test container version bumping that was left off
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
46fd09833e
commit
c9c00c92fe
@ -23,7 +23,10 @@ update_package_version() {
|
|||||||
# Update Docker image versions (`asterinas/asterinas:{version}`) in file $1
|
# Update Docker image versions (`asterinas/asterinas:{version}`) in file $1
|
||||||
update_image_versions() {
|
update_image_versions() {
|
||||||
echo "Updating file $1"
|
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
|
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
|
# Print the help message
|
||||||
|
Reference in New Issue
Block a user