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
202
202
if github {
203
203
println ! ( "::group::SemVer Checks against crates.io" ) ;
204
204
}
205
+
205
206
let mut cmd = ProcessBuilder :: new ( "cargo" ) ;
206
207
cmd. arg ( "semver-checks" )
207
208
. arg ( "check-release" )
208
- . arg ( "--workspace" ) ;
209
+ . arg ( "--workspace" )
210
+ . args ( & [ "--exclude" , "cargo" ] ) ;
209
211
210
212
gctx. shell ( ) . status ( "Running" , & cmd) ?;
211
213
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
+
212
228
if github {
213
229
println ! ( "::endgroup::" ) ;
214
230
}
You can’t perform that action at this time.
0 commit comments