Fix incorrect version string in build
This commit is contained in:
parent
649d1b11f0
commit
08aa05cd13
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
LAST_COMMIT := $(shell git rev-parse --short HEAD)
|
LAST_COMMIT := $(shell git rev-parse --short HEAD)
|
||||||
LAST_COMMIT_DATE := $(shell git show -s --format=%ci ${LAST_COMMIT})
|
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"))
|
BUILDSTR := ${VERSION} (${LAST_COMMIT} $(shell date -u +"%Y-%m-%dT%H:%M:%SZ"))
|
||||||
|
|
||||||
BIN := listmonk
|
BIN := listmonk
|
||||||
|
|
Loading…
Reference in New Issue