build: show version in development
Alan Pearce alan@alanpearce.eu
Sat, 22 Mar 2025 21:06:27 +0100
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M modd.conf → modd.conf
@@ -3,5 +3,5 @@ prep +onchange: "just reindex" } **/*.go config.toml { - daemon +sigint: go run ./cmd/searchix-web --dev --config config.toml + daemon +sigint: go run -ldflags="-X go.alanpearce.eu/searchix/internal/config.Version=$(git describe --tags --abbrev=0)" ./cmd/searchix-web --dev --config config.toml }