From 8d62b7e435e8782a839494e15068e6c9372c0d82 Mon Sep 17 00:00:00 2001 From: Nicole O'Connor Date: Sat, 3 Feb 2024 22:59:07 -0800 Subject: [PATCH] autopack with orbital --- .pk3include | 19 +++++++++++++++++++ .woodpecker/make-pk3.yaml | 21 +++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .pk3include create mode 100644 .woodpecker/make-pk3.yaml diff --git a/.pk3include b/.pk3include new file mode 100644 index 0000000..a60e269 --- /dev/null +++ b/.pk3include @@ -0,0 +1,19 @@ +maps/*.wad +music/* +sfx/* +sprites/* +textures/* +zscript/*.zs +zscript/LICENSE.TXT +ANIMDEFS.txt +DECORATE.txt +ENDZRCH +GAMEINFO.txt +LANGUAGE +LICENSE.TXT +MAPINFO +PNAMES.lmp +SECRETS +SNDINFO +TEXTURES.txt +zscript.txt \ No newline at end of file diff --git a/.woodpecker/make-pk3.yaml b/.woodpecker/make-pk3.yaml new file mode 100644 index 0000000..34c0164 --- /dev/null +++ b/.woodpecker/make-pk3.yaml @@ -0,0 +1,21 @@ +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.pk3 -@ + when: + - event: [push, manual] + publish-prerelease: + image: woodpeckerci/plugin-gitea-release + when: + - event: [push, manual] + settings: + base_url: https://vcs.otl-hga.net + files: + - "zorch_squadron.pk3" + prerelease: true + target: trunk + api_key: + from_secret: WOODPECKER_CI_TOKEN \ No newline at end of file