diff options
author | xengineering <me@xengineering.eu> | 2024-05-01 14:50:33 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-05-01 14:52:21 +0200 |
commit | 07f011bbbb22de9e7b4fd4af30fa0a92ee25b6d8 (patch) | |
tree | 0109c732116bfe180bf3ca8870530d44222ccfb1 /main.go | |
parent | 1e2a3377e43786e25dc03b8612513d47f8dfb3c6 (diff) | |
download | ceres-07f011bbbb22de9e7b4fd4af30fa0a92ee25b6d8.tar ceres-07f011bbbb22de9e7b4fd4af30fa0a92ee25b6d8.tar.zst ceres-07f011bbbb22de9e7b4fd4af30fa0a92ee25b6d8.zip |
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.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -26,9 +26,6 @@ func main() { } if printVersion { - if gitDescribe == "" { - log.Fatal("This build has no version information") - } fmt.Println(gitDescribe) os.Exit(0) } |