diff --git a/makefile b/makefile index 8a31b914..6c33a363 100644 --- a/makefile +++ b/makefile @@ -1,17 +1,7 @@ PLATFORM=$(shell uname -s | tr '[:upper:]' '[:lower:]') ifndef VERSION - ifndef RELEASE - # If we're not publishing a release, set the dev commit hash - ifndef DEV_TAG_SHA - COMMIT_HASH :=$(shell git rev-parse --short=7 HEAD) - else - COMMIT_HASH :=$(shell echo ${DEV_TAG_SHA} | cut -c 1-7) - endif - VERSION := dev-${COMMIT_HASH} - else - VERSION := $(shell git describe --tags --abbrev=0) - endif + VERSION := $(shell git describe --tags --abbrev=0) endif .PHONY: run build build-server docker release check test