diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-06-22 22:14:08 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-07-08 11:46:16 -0500 |
commit | a577ae082d57297877d369427e8cec7adb07b419 (patch) | |
tree | b9f80b605b58a133e1904e934e5e94ddf2aa12e9 /xtask/src/release | |
parent | 2e4fa58f7df52e6d6c67f476bd51b99bce8056cf (diff) |
build: reorganize xtask crate
Diffstat (limited to 'xtask/src/release')
-rw-r--r-- | xtask/src/release/bump.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xtask/src/release/bump.rs b/xtask/src/release/bump.rs index 7a817e7..76218eb 100644 --- a/xtask/src/release/bump.rs +++ b/xtask/src/release/bump.rs @@ -1,7 +1,7 @@ use std::{ fmt::Display, fs::File, - io::{BufRead, BufReader, BufWriter, Read, Write}, + io::{BufReader, BufWriter, Read, Write}, path::Path, process::Command, str::FromStr, @@ -50,12 +50,6 @@ pub struct Bump { } impl Bump { - pub fn new(major: u64, minor: u64, patch: u64, level: Level) -> Self { - let version = Version::new(major, minor, patch); - let next = level.bump(&version); - Self { version, next } - } - fn check_modified<P>(path: P) -> Result<bool> where P: AsRef<Path>, |