-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure matching modules with metadata when requested (#21640)
When a constraint is defined including build metadata, go-version ignores this, and if a user explicitly requests a build version, this will now return that version. Also covers cases when a user adds build metadata to a non-equality constraint, or in a constraint with multiple conditions (ex. >0.8.0+abc, <1.0.0), and gives and error when this occurs.
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters