mirror of
https://github.com/ChristianSch/gitea-release-drafter.git
synced 2025-06-15 08:38:14 +00:00
Fix minor version incrementation
This commit is contained in:
parent
efdf01c071
commit
d7c5ec16cb
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user