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
commands:
- 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:
- event: [tag]
- event: tag
ref: refs/tags/v*.*.*
publish:
image: woodpeckerci/plugin-gitea-release
when:
- event: [tag]
- event: tag
ref: refs/tags/v*.*.*
settings:
base_url: https://vcs.otl-hga.net
files:
- "zorch_squadron.pk3"
- "zorch_squadron.*.pk3"
prerelease: true
target: trunk
api_key: