From 6c8ac2b906d8d42d3765c4821ebbafc72c43663b Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 3 Nov 2024 16:53:31 +0100 Subject: Fix version string This contained an unwanted newline. --- version.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/version.go b/version.go index 6562d6c..498a623 100644 --- a/version.go +++ b/version.go @@ -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") } -- cgit v1.2.3-70-g09d2