diff --git a/go.mod b/go.mod index 5a9a882..abf43eb 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/caarlos0/svu go 1.20 require ( - github.com/Masterminds/semver v1.5.0 + github.com/Masterminds/semver/v3 v3.2.1 github.com/alecthomas/kingpin v2.2.6+incompatible github.com/gobwas/glob v0.2.3 github.com/matryer/is v1.4.1 diff --git a/go.sum b/go.sum index daf114f..8ba8f63 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= -github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= +github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0= +github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= github.com/alecthomas/kingpin v2.2.6+incompatible h1:5svnBTFgJjZvGKyYBtMB0+m5wvrbUHiqye8wRJMlnYI= github.com/alecthomas/kingpin v2.2.6+incompatible/go.mod h1:59OFYbFVLKQKq+mqrL6Rw5bR0c3ACQaawgXx0QYndlE= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM= diff --git a/internal/svu/svu.go b/internal/svu/svu.go index de47831..1bca2fa 100644 --- a/internal/svu/svu.go +++ b/internal/svu/svu.go @@ -6,9 +6,8 @@ import ( "strconv" "strings" + "github.com/Masterminds/semver/v3" "github.com/caarlos0/svu/internal/git" - - "github.com/Masterminds/semver" ) const ( diff --git a/internal/svu/svu_test.go b/internal/svu/svu_test.go index 6ad4c59..341c69f 100644 --- a/internal/svu/svu_test.go +++ b/internal/svu/svu_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/Masterminds/semver" + "github.com/Masterminds/semver/v3" "github.com/matryer/is" )