From a598cd56abe79c3aed06386bd7de09dae190598e Mon Sep 17 00:00:00 2001 From: andig Date: Wed, 29 Jul 2020 22:42:05 +0200 Subject: [PATCH] Fix version check - once and for all --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5e6f82f274..cb30a294c0 100644 --- a/Makefile +++ b/Makefile @@ -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))