Skip to content

Commit

Permalink
Merge pull request #2437 from utam0k/version-v0.3.0
Browse files Browse the repository at this point in the history
v0.3.0
  • Loading branch information
utam0k authored Oct 15, 2023
2 parents 1854870 + c6fa60a commit e4d2b39
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 16 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/libcgroups/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libcgroups"
version = "0.2.0"
version = "0.3.0" # MARK: Version
description = "Library for cgroup"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
Expand Down
4 changes: 2 additions & 2 deletions crates/libcontainer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libcontainer"
version = "0.2.0"
version = "0.3.0" # MARK: Version
description = "Library for container control"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
Expand Down Expand Up @@ -43,7 +43,7 @@ oci-spec = { version = "~0.6.3", features = ["runtime"] }
once_cell = "1.18.0"
procfs = "0.15.1"
prctl = "1.0.0"
libcgroups = { version = "0.2.0", path = "../libcgroups", default-features = false }
libcgroups = { version = "0.3.0", path = "../libcgroups", default-features = false }
libseccomp = { version = "0.3.0", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/liboci-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "liboci-cli"
version = "0.2.0"
version = "0.3.0" # MARK: Version
description = "Parse command line arguments for OCI container runtimes"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
Expand Down
8 changes: 4 additions & 4 deletions crates/youki/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "youki"
version = "0.2.0"
version = "0.3.0" # MARK: Version
description = "A container runtime written in Rust"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
Expand Down Expand Up @@ -29,9 +29,9 @@ features = ["std", "suggestions", "derive", "cargo", "help", "usage", "error-con
[dependencies]
anyhow = "1.0.75"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
libcgroups = { version = "0.2.0", path = "../libcgroups", default-features = false }
libcontainer = { version = "0.2.0", path = "../libcontainer", default-features = false }
liboci-cli = { version = "0.2.0", path = "../liboci-cli" }
libcgroups = { version = "0.3.0", path = "../libcgroups", default-features = false }
libcontainer = { version = "0.3.0", path = "../libcontainer", default-features = false }
liboci-cli = { version = "0.3.0", path = "../liboci-cli" }
nix = "0.27.1"
once_cell = "1.18.0"
pentacle = "1.0.0"
Expand Down
8 changes: 4 additions & 4 deletions docs/src/user/basic_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ Install from the GitHub release.
Note that this way also requires the aforementioned installation.

```console
$ wget https://github.com/containers/youki/releases/download/v0.2.0/youki_0_2_0_linux.tar.gz
$ tar -zxvf youki_0_2_0_linux.tar.gz youki_0_2_0_linux/youki-0.2.0/youki
$ wget https://github.com/containers/youki/releases/download/v0.3.0/youki_0_3_0_linux.tar.gz
$ tar -zxvf youki_0_3_0_linux.tar.gz youki_0_3_0_linux/youki-0.3.0/youki
# Maybe you need root privileges.
$ mv youki_0_2_0_linux/youki-0.2.0/youki /usr/local/bin/youki
$ rm -rf youki_0_2_0_linux.tar.gz youki_0_2_0_linux
$ mv youki_0_3_0_linux/youki-0.3.0/youki /usr/local/bin/youki
$ rm -rf youki_0_3_0_linux.tar.gz youki_0_3_0_linux
```

## Getting the source
Expand Down
5 changes: 5 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,8 @@ ci-musl-prepare: ci-prepare

echo "Unknown system. The CI is only configured for Ubuntu. You will need to forge your own path. Good luck!"
exit 1

version-up version:
git grep -l "^version = .* # MARK: Version" | xargs sed -i 's/version = "[0-9]\.[0-9]\.[0-9]" # MARK: Version/version = "{{version}}" # MARK: Version/g'
sed -i s/_[0-9]_[0-9]_[0-9]_/_{{ replace(version, '.', '_') }}_/g docs/src/user/basic_setup.md
sed -i 's/[0-9]\.[0-9]\.[0-9]/{{version}}/g' docs/src/user/basic_setup.md

0 comments on commit e4d2b39

Please sign in to comment.