util: change versioning logic

This commit is contained in:
nkanaev
2026-06-24 14:22:54 +01:00
parent 41faa8c088
commit c90c40aba1
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ func main() {
flag.Parse()
if ver {
fmt.Printf("v%s (%s)\n", Version, GitHash)
fmt.Printf("%s (%s)\n", Version, GitHash)
return
}

View File

@@ -1,4 +1,4 @@
VERSION=2.6
VERSION=$(shell git describe --exact-match --tags HEAD 2>/dev/null || echo bleeding)
GITHASH=$(shell git rev-parse --short=8 HEAD)
GO_TAGS = sqlite_foreign_keys sqlite_json sqlite_fts5