Fix tag version propogation
continuous-integration/drone/push Build is passing Details

This commit is contained in:
IamTheFij 2020-12-01 19:42:03 -08:00
parent 2a03ef21ad
commit 5698f9bccd
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ OUTPUT ?= dockron
DOCKER_TAG ?= $(OUTPUT)-dev-$(USER)
GIT_TAG_NAME := $(shell git tag -l --contains HEAD)
GIT_SHA := $(shell git rev-parse HEAD)
VERSION := $(if $(GIT_TAG_NAME),$(GIT_TAG_NAME),$(GIT_SHA))
VERSION ?= $(if $(GIT_TAG_NAME),$(GIT_TAG_NAME),$(GIT_SHA))
GOFILES = *.go go.mod go.sum