mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-04-26 13:34:45 +00:00
pipeline: fix VERSION_NUMBER
This commit is contained in:
parent
8d19d3b8ff
commit
2222638b10
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ CI_COMMIT_SHA ?= $(shell git rev-parse HEAD)
|
||||||
# it's a tagged release
|
# it's a tagged release
|
||||||
ifneq ($(CI_COMMIT_TAG),)
|
ifneq ($(CI_COMMIT_TAG),)
|
||||||
BUILD_VERSION := $(CI_COMMIT_TAG:v%=%)
|
BUILD_VERSION := $(CI_COMMIT_TAG:v%=%)
|
||||||
VERSION_NUMBER := ${VERSION}
|
VERSION_NUMBER := ${CI_COMMIT_TAG:v%=%}
|
||||||
else
|
else
|
||||||
# append commit-sha to next version
|
# append commit-sha to next version
|
||||||
ifeq ($(VERSION),next)
|
ifeq ($(VERSION),next)
|
||||||
|
|
Loading…
Reference in a new issue