1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

pipeline: fix VERSION_NUMBER

This commit is contained in:
6543 2023-08-17 14:20:06 +02:00
parent 8d19d3b8ff
commit 2222638b10
No known key found for this signature in database
GPG Key ID: B8BE6D610E61C862

View File

@ -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)