fix: trim newline from version
This commit is contained in:
@@ -3,10 +3,13 @@ package gonic
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
_ "embed"
|
_ "embed"
|
||||||
|
"fmt"
|
||||||
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:embed version.txt
|
//go:embed version.txt
|
||||||
var Version string
|
var version string
|
||||||
|
var Version = fmt.Sprintf("v%s", strings.TrimSuffix(version, "\n"))
|
||||||
|
|
||||||
const Name = "gonic"
|
const Name = "gonic"
|
||||||
const NameUpper = "GONIC"
|
const NameUpper = "GONIC"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
0.12.2
|
0.12.3
|
||||||
|
|||||||
Reference in New Issue
Block a user