Fix minor version incrementation

main
Râu Cao 2023-03-28 17:22:44 +02:00
parent efdf01c071
commit d7c5ec16cb
No known key found for this signature in database
GPG Key ID: 15E65F399D084BA9
1 changed files with 1 additions and 1 deletions

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 {