1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-08-10 21:42:04 +02:00
fix #774
This commit is contained in:
6543
2022-02-24 15:35:11 +01:00
committed by GitHub
parent 28e96a3851
commit f97f6f25b3
4 changed files with 5 additions and 3 deletions

View File

@@ -5,8 +5,10 @@ TARGETOS ?= linux
TARGETARCH ?= amd64
VERSION ?= next
VERSION_NUMBER ?= 0.0.0
ifneq ($(CI_COMMIT_TAG),)
VERSION := $(CI_COMMIT_TAG:v%=%)
VERSION_NUMBER := ${VERSION}
endif
# append commit-sha to next version

View File

@@ -1,7 +1,7 @@
name: woodpecker-agent
arch: amd64
platform: linux
version: v${WOODPECKER_VERSION}
version: ${VERSION_NUMBER}
description: Woodpecker Agent
homepage: https://github.com/woodpecker-ci/woodpecker
license: Apache 2.0

View File

@@ -1,7 +1,7 @@
name: woodpecker-cli
arch: amd64
platform: linux
version: v${WOODPECKER_VERSION}
version: ${VERSION_NUMBER}
description: Woodpecker CLI
homepage: https://github.com/woodpecker-ci/woodpecker
license: Apache 2.0

View File

@@ -1,7 +1,7 @@
name: woodpecker-server
arch: amd64
platform: linux
version: v${WOODPECKER_VERSION}
version: ${VERSION_NUMBER}
description: Woodpecker Server
homepage: https://github.com/woodpecker-ci/woodpecker
license: Apache 2.0