commit
73b432ec85
|
@ -45,7 +45,7 @@ func ResolveVersion(cfg *config.RepoConfig, last *gitea.Release, changelog *Chan
|
||||||
if incMajor {
|
if incMajor {
|
||||||
nextVersion = lastVersion.IncMajor()
|
nextVersion = lastVersion.IncMajor()
|
||||||
} else if incMinor {
|
} else if incMinor {
|
||||||
nextVersion = lastVersion.IncMajor()
|
nextVersion = lastVersion.IncMinor()
|
||||||
} else if incPatch {
|
} else if incPatch {
|
||||||
nextVersion = lastVersion.IncPatch()
|
nextVersion = lastVersion.IncPatch()
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue