Skip to content

Commit cfd4e9b

Browse files
committed
smoke_test: Fix --skip-publish behavior
In this case we still want to smoke test the version downloads, but with the latest version instead of the one which we did not publish.
1 parent fbed26f commit cfd4e9b

File tree

1 file changed

+1
-0
lines changed
  • crates/crates_io_smoke_test/src

1 file changed

+1
-0
lines changed

crates/crates_io_smoke_test/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ async fn main() -> anyhow::Result<()> {
8686
.context("Failed to run `cargo package`")?;
8787

8888
info!("Skipping publish step");
89+
new_version = old_version;
8990
} else {
9091
info!("Publishing to staging.crates.io…");
9192
cargo::publish(&project_path, &options.token)

0 commit comments

Comments
 (0)