File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
crates/xtask-bump-check/src Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -202,13 +202,29 @@ fn bump_check(args: &clap::ArgMatches, gctx: &cargo::util::GlobalContext) -> Car
202202 if github {
203203 println ! ( "::group::SemVer Checks against crates.io" ) ;
204204 }
205+
205206 let mut cmd = ProcessBuilder :: new ( "cargo" ) ;
206207 cmd. arg ( "semver-checks" )
207208 . arg ( "check-release" )
208- . arg ( "--workspace" ) ;
209+ . arg ( "--workspace" )
210+ . args ( & [ "--exclude" , "cargo" ] ) ;
209211
210212 gctx. shell ( ) . status ( "Running" , & cmd) ?;
211213 cmd. exec ( ) ?;
214+
215+ // Cargo has mutually exclusive features for different HTTP backends, so
216+ // pass a specific `--features` instead of including this in the
217+ // `--all-features` performed by the previous command.
218+ let mut cmd = ProcessBuilder :: new ( "cargo" ) ;
219+ cmd. arg ( "semver-checks" )
220+ . arg ( "check-release" )
221+ . args ( & [ "--package" , "cargo" ] )
222+ . arg ( "--default-features" )
223+ . args ( & [ "--features" , "all-static" ] ) ;
224+
225+ gctx. shell ( ) . status ( "Running" , & cmd) ?;
226+ cmd. exec ( ) ?;
227+
212228 if github {
213229 println ! ( "::endgroup::" ) ;
214230 }
You can’t perform that action at this time.
0 commit comments