diff options
Diffstat (limited to 'releaser/releaser.go')
-rw-r--r-- | releaser/releaser.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/releaser/releaser.go b/releaser/releaser.go index 1271cf179..02a98fa9f 100644 --- a/releaser/releaser.go +++ b/releaser/releaser.go @@ -53,17 +53,13 @@ type ReleaseHandler struct { func (r ReleaseHandler) calculateVersions() (helpers.HugoVersion, helpers.HugoVersion) { newVersion := helpers.MustParseHugoVersion(r.cliVersion) - finalVersion := newVersion + finalVersion := newVersion.Next() finalVersion.PatchLevel = 0 if newVersion.Suffix != "-test" { newVersion.Suffix = "" } - if newVersion.PatchLevel == 0 { - finalVersion = finalVersion.Next() - } - finalVersion.Suffix = "-DEV" return newVersion, finalVersion |