diff --git a/main.go b/main.go index 5ce5b71..45ea149 100644 --- a/main.go +++ b/main.go @@ -132,6 +132,8 @@ func nextVersion(inc string) func(*cli.Context) error { newVer = v.IncMinor() case "major": newVer = v.IncMajor() + default: + newVer = *v } } if c.IsSet("pre-release") {