update version only for un-publishable crates

This commit is contained in:
Ulf Lilleengen 2025-08-16 13:13:07 +02:00
parent 1f9452e076
commit ce42dd5da5

View File

@ -368,6 +368,7 @@ fn main() -> Result<()> {
println!("Updating {} from {} -> {}", weight, c.version, newver.to_string());
let newver = newver.to_string();
if c.publish {
update_version(&mut c, &newver)?;
let c = ctx.crates.get(weight).unwrap();
@ -381,6 +382,9 @@ fn main() -> Result<()> {
// Update changelog
update_changelog(&ctx.root, &c)?;
} else {
update_version(&mut c, &newver)?;
}
}
let weight = rgraph.node_weight(*start).unwrap();