Godot_bridge/.gitlab-ci.yml
2023-03-08 20:23:51 +01:00

22 lines
471 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
artifacts:
paths:
- '*.zip'