Bump version in the documentation

This commit is contained in:
Jianfeng Jiang 2024-05-09 02:26:59 +00:00 committed by Tate, Hongliang Tian
parent c3d0c59041
commit 7a82132ecc
3 changed files with 11 additions and 2 deletions

View File

@ -44,7 +44,7 @@ git clone https://github.com/asterinas/asterinas
2. Run a Docker container as the development environment.
```bash
docker run -it --privileged --network=host --device=/dev/kvm -v asterinas:/root/asterinas asterinas/asterinas:0.3.0
docker run -it --privileged --network=host --device=/dev/kvm -v asterinas:/root/asterinas asterinas/asterinas:0.4.2
```
3. Inside the container, go to the project folder to build and run Asterinas.

View File

@ -15,7 +15,12 @@ git = "https://github.com/asterinas/asterinas"
rev = "cc4111c"
# When publishing, the crate.io version is used, make sure
# the builder is published
version = "0.1.0"
# FIXME: The version is currently commented out as it is no longer in use.
# If this version is being used,
# please ensure to update `bump_version.sh` appropriately.
# `bump_version.sh will also update this version,
# however, the dependent crate may not share the same version as the whole project.
# version = "0.1.0"
[dependencies]
clap = { version = "4.4.17", features = ["cargo", "derive"] }

View File

@ -49,6 +49,10 @@ for workflow in $WORKFLOWS; do
update_image_versions $workflow
done
# Update Docker image versions in the documentation
GET_STARTED_PATH=${ASTER_SRC_DIR}/docs/src/kernel/README.md
update_image_versions $GET_STARTED_PATH
# Create or update VERSION
echo "${new_version}" > ${VERSION_PATH}