Skip to content

fix: Anchor CLI ignore non semver releases to avoid panic#3432

Merged
acheroncrypto merged 2 commits into
otter-sec:masterfrom
Arrowana:fix/anchor-cli-ignore-non-semver-releases
Dec 18, 2024
Merged

fix: Anchor CLI ignore non semver releases to avoid panic#3432
acheroncrypto merged 2 commits into
otter-sec:masterfrom
Arrowana:fix/anchor-cli-ignore-non-semver-releases

Conversation

@Arrowana

Copy link
Copy Markdown
Contributor

@vercel

vercel Bot commented Dec 17, 2024

Copy link
Copy Markdown

@Arrowana is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added cli fix Bug fix PR labels Dec 17, 2024

@acheroncrypto acheroncrypto left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

The parsing also caused an issue when Solana 1.18.19 decided to output deprecation warnings (#3185), so it totally makes sense to avoid panicking if the line is not parseable to SemVer.

Lastly, this fix might be worth mentioning in the CHANGELOG.

Comment thread cli/src/lib.rs Outdated
Comment thread cli/src/lib.rs Outdated

@acheroncrypto acheroncrypto left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

@acheroncrypto acheroncrypto merged commit 2233ee7 into otter-sec:master Dec 18, 2024
@Arrowana Arrowana deleted the fix/anchor-cli-ignore-non-semver-releases branch December 18, 2024 22:13
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli fix Bug fix PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants