mirror of
https://github.com/ChristianSch/gitea-release-drafter.git
synced 2024-10-08 20:27:16 +00:00
Merge pull request #4 from raucao/bugfix/minor_versions
This commit is contained in:
commit
73b432ec85
@ -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…
Reference in New Issue
Block a user