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