Godot_bridge/.gitlab-ci.yml
2023-03-08 20:35:10 +01:00

24 lines
527 B
YAML

# This CI is for zipping the plugin when ready for distribution
variables:
ADDON_VERSION: "1.0.0"
stages:
- build
- deploy
build-job:
stage: build
tags:
- Docker
image: alpine
before_script:
- apk add --update zip
script:
- echo "Zipping the plugin in its v$ADDON_VERSION…"
- cd .. && zip -9 -r -q khanat_tools_v1.0.0.zip . -i khanat_tools/*
- mv khanat_tools_v$ADDON_VERSION.zip khanat-tools
- ls
- ls khanat-tools
artifacts:
paths:
- khanat_tools_v$ADDON_VERSION.zip