File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
crates/xtask-bump-check/src Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,9 @@ fn bump_check(args: &clap::ArgMatches, config: &cargo::util::Config) -> CargoRes
158
158
config. shell ( ) . status ( "Running" , & cmd) ?;
159
159
cmd. exec ( ) ?;
160
160
161
+ // This test does not work for Solana because we are running
162
+ // it against a too old version of cargo.
163
+ #[ cfg( target_os = "solana" ) ]
161
164
if let Some ( referenced_commit) = referenced_commit. as_ref ( ) {
162
165
let mut cmd = ProcessBuilder :: new ( "cargo" ) ;
163
166
cmd. arg ( "semver-checks" )
@@ -272,8 +275,8 @@ fn beta_and_stable_branch(repo: &git2::Repository) -> CargoResult<[git2::Branch<
272
275
for branch in repo. branches ( Some ( git2:: BranchType :: Remote ) ) ? {
273
276
let ( branch, _) = branch?;
274
277
let name = branch. name ( ) ?. unwrap ( ) ;
275
- let Some ( ( _, version) ) = name. split_once ( "/rust -" ) else {
276
- tracing:: trace!( "branch `{name}` is not in the format of `<remote>/rust -<semver>`" ) ;
278
+ let Some ( ( _, version) ) = name. split_once ( "/solana -" ) else {
279
+ tracing:: trace!( "branch `{name}` is not in the format of `<remote>/solana -<semver>`" ) ;
277
280
continue ;
278
281
} ;
279
282
let Ok ( version) = version. parse :: < semver:: Version > ( ) else {
You can’t perform that action at this time.
0 commit comments