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