1
0
mirror of https://github.com/ChristianSch/gitea-release-drafter.git synced 2026-03-08 06:52:58 +00:00

Merge pull request #4 from raucao/bugfix/minor_versions

This commit is contained in:
ChristianSch
2023-04-06 11:56:04 +02:00
committed by GitHub

View File

@@ -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 {