diff --git a/go.mod b/go.mod index f6ca3f3..2eb7bd5 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/mroth/bump go 1.13 require ( - github.com/Masterminds/semver v1.4.2 + github.com/Masterminds/semver/v3 v3.0.1 github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e github.com/google/go-github/v25 v25.1.3 github.com/manifoldco/promptui v0.3.2 diff --git a/go.sum b/go.sum index 605698f..65ebc5a 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,9 @@ cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= github.com/Masterminds/semver v1.4.2 h1:WBLTQ37jOCzSLtXNdoo8bNM8876KhNqOKvrlGITgsTc= github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= +github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= +github.com/Masterminds/semver/v3 v3.0.1 h1:2kKm5lb7dKVrt5TYUiAavE6oFc1cFT0057UVGT+JqLk= +github.com/Masterminds/semver/v3 v3.0.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 h1:uSoVVbwJiQipAclBbw+8quDsfcvFjOpI5iCf4p/cqCs= github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs= github.com/alecthomas/gometalinter v2.0.11+incompatible/go.mod h1:qfIpQGGz3d+NmgyPBqv+LSh50emm1pt72EtcX2vKYQk= diff --git a/main.go b/main.go index 7eb7dd7..a95020d 100644 --- a/main.go +++ b/main.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/Masterminds/semver" + "github.com/Masterminds/semver/v3" "github.com/google/go-github/v25/github" "github.com/pkg/browser" ) diff --git a/prompter.go b/prompter.go index 7d8d9df..5dac40c 100644 --- a/prompter.go +++ b/prompter.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/Masterminds/semver" + "github.com/Masterminds/semver/v3" "github.com/chzyer/readline" "github.com/manifoldco/promptui" )