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

feat: Use semver4j to parse Dafny version and ignore build metadata #13

Merged

Conversation

robin-aws
Copy link
Member

@robin-aws robin-aws commented Dec 10, 2024

Fixes #9

This allows you to just set dafnyVersion.set("4.9.1") instead of dafnyVersion.set("4.9.1+48e8bd498baaa0af79af008dbf0c34f14b9087b1") (as dafny --version currently outputs it)

Also updated the CI to test on the latest Dafny version. Would be worth testing on a range of supported Dafny versions soon as well.

@robin-aws robin-aws merged commit 0b0156f into dafny-lang:main Dec 10, 2024
1 check passed
@robin-aws robin-aws deleted the ignore-build-metadata-in-dafny-version branch December 10, 2024 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parse output of dafny --version to omit build information in dafnyVersionCheck
2 participants