Fix version check - once and for all

This commit is contained in:
andig 2020-07-29 22:42:05 +02:00
parent 2261d8d718
commit a598cd56ab

View file

@ -1,6 +1,6 @@
.PHONY: default clean install lint test assets build binaries publish-images test-release release
TAG_NAME := $(shell git describe --abbrev=0 --tags).0
TAG_NAME := $(shell git describe --abbrev=0 --tags)
SHA := $(shell git rev-parse --short HEAD)
VERSION := $(if $(TAG_NAME),$(TAG_NAME),$(SHA))