diff options
Diffstat (limited to 'version.go')
-rw-r--r-- | version.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,7 @@ package main import ( _ "embed" "log" + "strings" ) //go:embed VERSION.txt @@ -12,4 +13,6 @@ func init() { if version == "" { log.Fatal("Bad build: No version string embedded.") } + + version = strings.Trim(version, "\n") } |