From 07f011bbbb22de9e7b4fd4af30fa0a92ee25b6d8 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 1 May 2024 14:50:33 +0200 Subject: Make build-time version information mandatory This ensures that Ceres is never executed without Git version information. This removes the requirement to check for this on every use. To ensure the server does not work with an incompatible storage directory it is in every case needed to know the exact version of the running executable. --- main.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 4a45586..7b65bf4 100644 --- a/main.go +++ b/main.go @@ -26,9 +26,6 @@ func main() { } if printVersion { - if gitDescribe == "" { - log.Fatal("This build has no version information") - } fmt.Println(gitDescribe) os.Exit(0) } -- cgit v1.2.3-70-g09d2