Skip to content

Commit

Permalink
Bump to 0.6.7
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed Jul 4, 2024
1 parent 930d266 commit 35eff8c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci-spec"
version = "0.6.6"
version = "0.6.7"
edition = "2021"
authors = [
"Furisto",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This library provides a convenient way to interact with the specifications defin

```toml
[dependencies]
oci-spec = "0.6.6"
oci-spec = "0.6.7"
```
*Compiler support: requires rustc 1.54+*

Expand Down
4 changes: 2 additions & 2 deletions src/distribution/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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())
}
}
4 changes: 2 additions & 2 deletions src/image/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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())
}
}
4 changes: 2 additions & 2 deletions src/runtime/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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())
}
}

0 comments on commit 35eff8c

Please sign in to comment.