hashicorp / hashicorp/go-version

[question] Why constraint without a pre-release can only match a version without a pre-release?

Open
#59 2 comments 8 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.8k
Forks
165
Avg merge
23h 42m
Merged PRs (30d)
2

Description

I'd like to know the reason why constraint without a pre-release can only match a version without a pre-release, we're using Nomad when we're trying RC many of our jobs are not able to run because ```prereleaseCheck``` function.

It'd be great to compare something like``` 0.9.2-rc1 >= 0.9.0```

Thanks in advance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.