build(woodpecker): accept any tag format
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Paul Campbell 2024-04-28 15:32:01 +01:00
parent d58e46d65e
commit a83fe8b581

View file

@ -30,7 +30,6 @@ steps:
- event: push - event: push
branch: [main, next] branch: [main, next]
- event: tag - event: tag
ref: refs/tags/v*
image: git.kemitix.net/kemitix/kxio-builder:latest image: git.kemitix.net/kemitix/kxio-builder:latest
environment: environment:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -45,7 +44,6 @@ steps:
- event: push - event: push
branch: [main, next] branch: [main, next]
- event: tag - event: tag
ref: refs/tags/v*
image: git.kemitix.net/kemitix/kxio-builder:latest image: git.kemitix.net/kemitix/kxio-builder:latest
environment: environment:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -55,7 +53,6 @@ steps:
publish_to_crates_io: publish_to_crates_io:
when: when:
- event: tag - event: tag
ref: refs/tags/v*
image: docker.io/rust:1.77 image: docker.io/rust:1.77
commands: commands:
- cargo login "$CARGO_REGISTRY_TOKEN" - cargo login "$CARGO_REGISTRY_TOKEN"
@ -65,7 +62,6 @@ steps:
publish_to_forgejo: publish_to_forgejo:
when: when:
- event: tag - event: tag
ref: refs/tags/v*
# INFO: https://woodpecker-ci.org/plugins/Gitea%20Release # INFO: https://woodpecker-ci.org/plugins/Gitea%20Release
image: docker.io/woodpeckerci/plugin-gitea-release:0.3 image: docker.io/woodpeckerci/plugin-gitea-release:0.3
settings: settings: