Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix incorrect version string in build

Kailash Nadh08aa05cd13cd
diff --git a/Makefile b/Makefile
index ac1b2c91..cd7e4562 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
LAST_COMMIT := $(shell git rev-parse --short HEAD)
LAST_COMMIT_DATE := $(shell git show -s --format=%ci ${LAST_COMMIT})
-VERSION := $(shell git tag)
+VERSION := $(shell git describe)
BUILDSTR := ${VERSION} (${LAST_COMMIT} $(shell date -u +"%Y-%m-%dT%H:%M:%SZ"))
BIN := listmonk