Fix minor version incrementation

This commit is contained in:
Râu Cao committed 2023-03-28 17:23:27 +02:00
1 parent efdf01c071
commit d7c5ec16cb
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ func ResolveVersion(cfg *config.RepoConfig, last *gitea.Release, changelog *Chan
if incMajor {
nextVersion = lastVersion.IncMajor()
} else if incMinor {
nextVersion = lastVersion.IncMajor()
nextVersion = lastVersion.IncMinor()
} else if incPatch {
nextVersion = lastVersion.IncPatch()
} else {