mirror of
https://github.com/thegeeklab/git-sv.git
synced 2024-11-21 12:00:40 +00:00
fix: use full version and not only major, minor and patch at changelog and releasenotes
issue: #16
This commit is contained in:
parent
e4e395ee39
commit
8ff0147ec9
@ -2,7 +2,6 @@ package sv
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"text/template"
|
||||
)
|
||||
|
||||
@ -96,7 +95,7 @@ func releaseNoteVariables(releasenote ReleaseNote) releaseNoteTemplateVariables
|
||||
|
||||
var version = ""
|
||||
if releasenote.Version != nil {
|
||||
version = fmt.Sprintf("%d.%d.%d", releasenote.Version.Major(), releasenote.Version.Minor(), releasenote.Version.Patch())
|
||||
version = releasenote.Version.String()
|
||||
}
|
||||
return releaseNoteTemplateVariables{
|
||||
Version: version,
|
||||
|
Loading…
Reference in New Issue
Block a user