add server version/commit in logs and UI

This commit is contained in:
Mikaël Cluseau
2023-11-04 13:53:00 +01:00
parent 41897c00b4
commit f7b708ce4b
6 changed files with 18 additions and 6 deletions

3
hack/build Executable file
View File

@ -0,0 +1,3 @@
#! /bin/sh
set -ex
go build -o dist/ -trimpath -ldflags "-X main.Version=$(git describe --always --dirty)" $*