From 2d0a6e7702ebdbd318642cb87e73ff5df7152a46 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 17 Aug 2023 14:20:06 +0200 Subject: [PATCH] pipeline: fix VERSION_NUMBER --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9b47ac4ac..08d2fe512 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ CI_COMMIT_SHA ?= $(shell git rev-parse HEAD) # it's a tagged release ifneq ($(CI_COMMIT_TAG),) BUILD_VERSION := $(CI_COMMIT_TAG:v%=%) - VERSION_NUMBER := ${VERSION} + VERSION_NUMBER := ${CI_COMMIT_TAG:v%=%} else # append commit-sha to next version ifeq ($(VERSION),next)