From 08aa05cd13cd13e8ba73873d1cfec0f59cf89213 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Fri, 6 Sep 2019 13:32:07 +0530 Subject: [PATCH] Fix incorrect version string in build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ac1b2c9..cd7e456 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