fix #774
This commit is contained in:
6543 2022-02-24 15:35:11 +01:00 committed by GitHub
parent 28e96a3851
commit f97f6f25b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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