Fix incorrect version string in build

This commit is contained in:
Kailash Nadh 2019-09-06 13:32:07 +05:30
parent 649d1b11f0
commit 08aa05cd13
1 changed files with 1 additions and 1 deletions

View File

@ -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