mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-04-03 15:28:48 +02:00
* chore(deps): Upgrade Masterminds/semver to v3.1.1 Signed-off-by: jannfis <jann@mistrust.net> * Do not anchor regexp Signed-off-by: jannfis <jann@mistrust.net>
9 lines
148 B
Go
9 lines
148 B
Go
package helm
|
|
|
|
import "github.com/Masterminds/semver/v3"
|
|
|
|
func IsVersion(text string) bool {
|
|
_, err := semver.NewVersion(text)
|
|
return err == nil
|
|
}
|