zorch-squadron/.woodpecker/make-pk3.yaml

23 lines
599 B
YAML
Raw Permalink Normal View History

2024-02-03 22:59:07 -08:00
steps:
pack:
image: ubuntu:22.04
pull: true
commands:
- apt update && apt upgrade -y && apt install -y zip
- xargs -a .pk3include -I% find . -wholename ./% | zip zorch_squadron.${CI_COMMIT_TAG}.pk3 -@
2024-02-03 22:59:07 -08:00
when:
- event: tag
ref: refs/tags/v*.*.*
2024-02-03 23:06:19 -08:00
publish:
2024-02-03 22:59:07 -08:00
image: woodpeckerci/plugin-gitea-release
when:
- event: tag
ref: refs/tags/v*.*.*
2024-02-03 22:59:07 -08:00
settings:
base_url: https://vcs.otl-hga.net
files:
- "zorch_squadron.*.pk3"
2024-02-03 22:59:07 -08:00
prerelease: true
target: trunk
api_key:
from_secret: WOODPECKER_CI_TOKEN