Skip to content

Commit

Permalink
ci: exclude semver check for cargo against referenced commit
Browse files Browse the repository at this point in the history
We always bump major versions for `cargo` package,
so the risk of shipping breaking change should be zero.

We still verify against crates.io as a sanity check.
  • Loading branch information
weihanglo committed Apr 29, 2024
1 parent cbca426 commit a6cfdd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/xtask-bump-check/src/xtask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ fn bump_check(args: &clap::ArgMatches, gctx: &cargo::util::GlobalContext) -> Car
let mut cmd = ProcessBuilder::new("cargo");
cmd.arg("semver-checks")
.arg("--workspace")
// We don't want to confuse when a new beta just branched off
.args(&["--exclude", "cargo"])
.args(&["--exclude", "cargo-test-macro"]) // FIXME: Remove once 1.79 is stable.
.args(&["--exclude", "cargo-test-support"]) // FIXME: Remove once 1.79 is stable.
.arg("--baseline-rev")
Expand Down

0 comments on commit a6cfdd6

Please sign in to comment.