From 4c344985ebf2bcf5bb4e2d60230f6e09465d6fc8 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Wed, 11 Sep 2024 08:47:22 +0200 Subject: [PATCH] Bump to 0.7.0 Signed-off-by: Sascha Grunert --- Cargo.toml | 2 +- README.md | 2 +- src/distribution/version.rs | 4 ++-- src/image/version.rs | 4 ++-- src/runtime/version.rs | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1a7e4259b5..9829334da9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oci-spec" -version = "0.6.8" +version = "0.7.0" edition = "2021" authors = [ "Furisto", diff --git a/README.md b/README.md index b96fd23d50..2d0feb4e45 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ This library provides a convenient way to interact with the specifications defin ```toml [dependencies] -oci-spec = "0.6.8" +oci-spec = "0.7.0" ``` *Compiler support: requires rustc 1.54+* diff --git a/src/distribution/version.rs b/src/distribution/version.rs index d5b8b63fb9..e7fa43705f 100644 --- a/src/distribution/version.rs +++ b/src/distribution/version.rs @@ -8,7 +8,7 @@ pub const VERSION_MINOR: u32 = 0; pub const VERSION_PATCH: u32 = 0; /// Indicates development branch. Releases will be empty string. -pub const VERSION_DEV: &str = "-dev"; +pub const VERSION_DEV: &str = ""; /// Retrieve the version as string representation. pub fn version() -> String { @@ -21,6 +21,6 @@ mod tests { #[test] fn version_test() { - assert_eq!(version(), "1.0.0-dev".to_string()) + assert_eq!(version(), "1.0.0".to_string()) } } diff --git a/src/image/version.rs b/src/image/version.rs index c0ec075956..db91fb1cc1 100644 --- a/src/image/version.rs +++ b/src/image/version.rs @@ -8,7 +8,7 @@ pub const VERSION_MINOR: u32 = 0; pub const VERSION_PATCH: u32 = 1; /// Indicates development branch. Releases will be empty string. -pub const VERSION_DEV: &str = "-dev"; +pub const VERSION_DEV: &str = ""; /// Retrieve the version as string representation. pub fn version() -> String { @@ -21,6 +21,6 @@ mod tests { #[test] fn version_test() { - assert_eq!(version(), "1.0.1-dev".to_string()) + assert_eq!(version(), "1.0.1".to_string()) } } diff --git a/src/runtime/version.rs b/src/runtime/version.rs index 2753790d31..5d52612b3f 100644 --- a/src/runtime/version.rs +++ b/src/runtime/version.rs @@ -8,7 +8,7 @@ pub const VERSION_MINOR: u32 = 0; pub const VERSION_PATCH: u32 = 2; /// Indicates development branch. Releases will be empty string. -pub const VERSION_DEV: &str = "-dev"; +pub const VERSION_DEV: &str = ""; /// Retrieve the version as string representation. pub fn version() -> String { @@ -21,6 +21,6 @@ mod tests { #[test] fn version_test() { - assert_eq!(version(), "1.0.2-dev".to_string()) + assert_eq!(version(), "1.0.2".to_string()) } }