Merge pull request #198 from knadh/fix-injected-version
fix: incorrect git tag being injected as version
This commit is contained in:
commit
2109ee16f6
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 describe)
|
VERSION := $(shell git describe --tags)
|
||||||
BUILDSTR := ${VERSION} (${LAST_COMMIT} $(shell date -u +"%Y-%m-%dT%H:%M:%S%z"))
|
BUILDSTR := ${VERSION} (${LAST_COMMIT} $(shell date -u +"%Y-%m-%dT%H:%M:%S%z"))
|
||||||
|
|
||||||
BIN := listmonk
|
BIN := listmonk
|
||||||
|
|
Loading…
Reference in New Issue