release pipeline now only runs on semver tags

This commit is contained in:
Nicole O'Connor 2024-02-16 17:01:36 -08:00
parent ccdce66558
commit e2ab974f70

View File

@ -4,17 +4,19 @@ steps:
pull: true pull: true
commands: commands:
- apt update && apt upgrade -y && apt install -y zip - apt update && apt upgrade -y && apt install -y zip
- xargs -a .pk3include -I% find . -wholename ./% | zip zorch_squadron.pk3 -@ - xargs -a .pk3include -I% find . -wholename ./% | zip zorch_squadron.${CI_COMMIT_TAG}.pk3 -@
when: when:
- event: [tag] - event: tag
ref: refs/tags/v*.*.*
publish: publish:
image: woodpeckerci/plugin-gitea-release image: woodpeckerci/plugin-gitea-release
when: when:
- event: [tag] - event: tag
ref: refs/tags/v*.*.*
settings: settings:
base_url: https://vcs.otl-hga.net base_url: https://vcs.otl-hga.net
files: files:
- "zorch_squadron.pk3" - "zorch_squadron.*.pk3"
prerelease: true prerelease: true
target: trunk target: trunk
api_key: api_key: