Skip to content

Commit

Permalink
Back to dev
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed Jul 2, 2024
1 parent 9d3a94e commit 82ae6d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
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 = "";
pub const VERSION_DEV: &str = "-dev";

/// 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".to_string())
assert_eq!(version(), "1.0.0-dev".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 = "";
pub const VERSION_DEV: &str = "-dev";

/// 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".to_string())
assert_eq!(version(), "1.0.1-dev".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 = "";
pub const VERSION_DEV: &str = "-dev";

/// 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".to_string())
assert_eq!(version(), "1.0.2-dev".to_string())
}
}

0 comments on commit 82ae6d9

Please sign in to comment.