From 0cffbf6923a8847b48a2f1f0e9adbff720b2d54d Mon Sep 17 00:00:00 2001 From: Adam Shannon Date: Mon, 13 Jan 2025 13:05:45 -0600 Subject: [PATCH] build: fix VERSION read --- makefile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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