hashicorp / hashicorp/go-version
[question] which is bigger according the constraint?
Open
- Dominant language
- Go
- Stars
- 1.8k
- Forks
- 165
- Avg merge
- 23h 42m
- Merged PRs (30d)
- 2
Description
I have a range of the versions and a version that I need to check if it is inside the range.
the constraint that I build was:
```
element 0: >=3.6.6
element 1: <3.6.8-15.1
```
(see screenshot for clearer vision)

The version that I'm checking is `3.6.8`
The check is returning false on the "less than" element (`<3.6.8-15.1`)
Why does `3.6.8-15.1` considered **not** bigger than `3.6.8`?
Contributor guide
Assessment
This issue has not been assessed yet.