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 version validation #350

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

hmaier-fws
Copy link
Contributor

@hmaier-fws hmaier-fws commented Feb 22, 2025

Allow schema to validate versions with more than one major or minor digit

closes #351

Allow schema to validate versions with more than one major or minor digit
@hmaier-fws hmaier-fws requested a review from jwaspin February 22, 2025 01:29
@hmaier-fws
Copy link
Contributor Author

hmaier-fws commented Feb 22, 2025

@jwaspin can you take a look at this update to make sure it won't break any of the tests. We'll also need to:

@hmaier-fws hmaier-fws added the bug label Feb 22, 2025
Copy link
Contributor

@jwaspin jwaspin left a comment

Choose a reason for hiding this comment

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

Just add a + to make it so all of major.minor.patch can be 2-digits

update to use same VALIDATION pattern ("[0-9]+") for all version components
@hmaier-fws hmaier-fws merged commit 4d74725 into adiwg:develop Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Schema does not validate if major or minor version has more than one digit
2 participants