Godot_bridge/.gitlab-ci.yml

22 lines
472 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'