Remove a debug utility in the publish script (#4904)
This was something I used for a one-time bump to 2.0, but is no longer necessary. I didn't mean to commit this but I forgot to back it out.
This commit is contained in:
@@ -323,9 +323,6 @@ fn bump_version(krate: &Crate, crates: &[Crate], patch: bool) {
|
||||
/// releases. This may end up getting tweaked as we stabilize crates and start
|
||||
/// doing more minor/patch releases, but for now this should do the trick.
|
||||
fn bump(version: &str, patch_bump: bool) -> String {
|
||||
if version == "0.41.0" {
|
||||
return String::from("2.0.0");
|
||||
}
|
||||
let mut iter = version.split('.').map(|s| s.parse::<u32>().unwrap());
|
||||
let major = iter.next().expect("major version");
|
||||
let minor = iter.next().expect("minor version");
|
||||
|
||||
Reference in New Issue
Block a user