Fix tag version propogation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2a03ef21ad
commit
5698f9bccd
2
Makefile
2
Makefile
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user