From c6fa60a1a7e097906fa13dfa92a070770d7b8ac3 Mon Sep 17 00:00:00 2001 From: utam0k Date: Fri, 13 Oct 2023 12:36:23 +0000 Subject: [PATCH] v0.3.0 Signed-off-by: utam0k --- Cargo.lock | 8 ++++---- crates/libcgroups/Cargo.toml | 2 +- crates/libcontainer/Cargo.toml | 4 ++-- crates/liboci-cli/Cargo.toml | 2 +- crates/youki/Cargo.toml | 8 ++++---- docs/src/user/basic_setup.md | 8 ++++---- justfile | 5 +++++ 7 files changed, 21 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c9c959dd..6e9fa0cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1908,7 +1908,7 @@ checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" [[package]] name = "libcgroups" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "clap", @@ -1933,7 +1933,7 @@ dependencies = [ [[package]] name = "libcontainer" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "bitflags 2.4.0", @@ -1974,7 +1974,7 @@ dependencies = [ [[package]] name = "liboci-cli" -version = "0.2.0" +version = "0.3.0" dependencies = [ "clap", ] @@ -5728,7 +5728,7 @@ dependencies = [ [[package]] name = "youki" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "caps", diff --git a/crates/libcgroups/Cargo.toml b/crates/libcgroups/Cargo.toml index dc8d6ff5..ed8ce9e3 100644 --- a/crates/libcgroups/Cargo.toml +++ b/crates/libcgroups/Cargo.toml @@ -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" diff --git a/crates/libcontainer/Cargo.toml b/crates/libcontainer/Cargo.toml index 0212a8d4..bd71ed91 100644 --- a/crates/libcontainer/Cargo.toml +++ b/crates/libcontainer/Cargo.toml @@ -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" @@ -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" diff --git a/crates/liboci-cli/Cargo.toml b/crates/liboci-cli/Cargo.toml index dc621c0c..33a3beb9 100644 --- a/crates/liboci-cli/Cargo.toml +++ b/crates/liboci-cli/Cargo.toml @@ -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" diff --git a/crates/youki/Cargo.toml b/crates/youki/Cargo.toml index 60b54abb..313f11b9 100644 --- a/crates/youki/Cargo.toml +++ b/crates/youki/Cargo.toml @@ -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" @@ -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" diff --git a/docs/src/user/basic_setup.md b/docs/src/user/basic_setup.md index 1c69afb6..c323de6e 100644 --- a/docs/src/user/basic_setup.md +++ b/docs/src/user/basic_setup.md @@ -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 diff --git a/justfile b/justfile index 69a84ebb..3d7caca1 100644 --- a/justfile +++ b/justfile @@ -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