Skip to content

Commit

Permalink
[SOL] Check release bump against the Solana release
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Feb 12, 2024
1 parent b6351f1 commit 01068bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/xtask-bump-check/src/xtask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ fn beta_and_stable_branch(repo: &git2::Repository) -> CargoResult<[git2::Branch<
for branch in repo.branches(Some(git2::BranchType::Remote))? {
let (branch, _) = branch?;
let name = branch.name()?.unwrap();
let Some((_, version)) = name.split_once("/rust-") else {
tracing::trace!("branch `{name}` is not in the format of `<remote>/rust-<semver>`");
let Some((_, version)) = name.split_once("/solana-") else {
tracing::trace!("branch `{name}` is not in the format of `<remote>/solana-<semver>`");
continue;
};
let Ok(version) = version.parse::<semver::Version>() else {
Expand Down

0 comments on commit 01068bb

Please sign in to comment.