mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 14:44:32 +00:00
update version only for un-publishable crates
This commit is contained in:
parent
1f9452e076
commit
ce42dd5da5
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user