Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

Arrowana
Copy link
Contributor

Copy link

vercel bot commented Dec 17, 2024

@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
Copy link
Collaborator

@acheroncrypto acheroncrypto left a comment

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.

cli/src/lib.rs Outdated Show resolved Hide resolved
cli/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@acheroncrypto acheroncrypto left a comment

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 coral-xyz:master Dec 18, 2024
52 of 53 checks passed
@Arrowana Arrowana deleted the fix/anchor-cli-ignore-non-semver-releases branch December 18, 2024 22:13
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