🐛 Remove deprecated woodpecker ci conditions

Tag condition (when: event: tag) filters are not generalized to `ref`
instead of the old `tag` key. This switches them to the new version.

See
https://woodpecker-ci.org/docs/usage/workflow-syntax#when---conditional-execution
This commit is contained in:
Marty Oehme 2024-01-11 11:17:47 +01:00
parent e14010eb53
commit cb3d8fd5d6
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -8,7 +8,7 @@ steps:
# prepare changelog and version information for release candidate # prepare changelog and version information for release candidate
when: when:
event: tag event: tag
tag: v* ref: refs/tags/v*
image: alpine image: alpine
commands: commands:
- sed -ne 's/bm_version=\(.*\)/\1/p' bemoji > NEWEST_VERSION.txt - sed -ne 's/bm_version=\(.*\)/\1/p' bemoji > NEWEST_VERSION.txt
@ -18,7 +18,7 @@ steps:
# ensure we correctly bumped versions # ensure we correctly bumped versions
when: when:
event: tag event: tag
tag: v* ref: refs/tags/v*
image: alpine image: alpine
secrets: [ github_release_token, github_repo ] secrets: [ github_release_token, github_repo ]
commands: commands:
@ -35,7 +35,7 @@ steps:
build: build:
when: when:
event: tag event: tag
tag: v* ref: refs/tags/v*
image: savant/md2man image: savant/md2man
commands: commands:
- apk update && apk add zip - apk update && apk add zip
@ -53,7 +53,7 @@ steps:
group: release group: release
when: when:
event: tag event: tag
tag: v* ref: refs/tags/v*
image: plugins/gitea-release image: plugins/gitea-release
settings: settings:
api_key: api_key:
@ -66,7 +66,7 @@ steps:
release-github: release-github:
when: when:
event: tag event: tag
tag: v* ref: refs/tags/v*
image: alpine image: alpine
secrets: [ github_release_token, github_repo ] secrets: [ github_release_token, github_repo ]
commands: commands: