commit d4e5de7453e0c360354d48c274b82f8d3dde47e8
parent b6b48482ca701916b24459c8ac57584aef9cf748
Author: Sean Enck <sean@ttypty.com>
Date: Thu, 3 Jul 2025 19:32:33 -0400
include tag in version
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -1,6 +1,6 @@
GOFLAGS := -trimpath -buildmode=pie -mod=readonly -modcacherw -buildvcs=false
TARGET := target
-VERSION := $(shell git log -n 1 --format=%h)
+VERSION := "$(shell git describe --abbrev=0 --tags)-$(shell git log -n 1 --format=%h)"
OBJECT := $(TARGET)/lb
GOTEST := go test
CMD := cmd/lb