Bugfix initialization of new version when we aren't bumping major/minor/patch
This commit is contained in:
parent
88ad9ec55c
commit
6948f596fe
1 changed files with 2 additions and 0 deletions
2
main.go
2
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") {
|
||||
|
|
Loading…
Reference in a new issue