-
Notifications
You must be signed in to change notification settings - Fork 225
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
ci: make version extraction more reliable #3166
Conversation
It does not seem working on Windows
I thought yq was available on GitHub Actions, but it doesn't seem to be included on Windows at this time. (actions/runner-images#7443) |
FYI |
cargo metadata
and jq
to extract version number from the TOML file
Good idea! Thanks. |
cargo metadata
and jq
to extract version number from the TOML fileThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
#3122 (comment)
There is no need to remove spaces or quotation marks because
cargo metadata
correctly parses the TOML and extracts the version number.