Godot_bridge/.gitlab-ci.yml

23 lines
496 B
YAML
Raw Normal View History

2023-03-08 13:02:09 +00:00
# This CI is for zipping the plugin when ready for distribution
variables:
ADDON_VERSION: "1.0.0"
2023-03-08 13:02:09 +00:00
stages:
- build
- deploy
build-job:
stage: build
2023-03-08 15:41:48 +00:00
tags:
- Docker
image: alpine
before_script:
- apk add --update zip
2023-03-08 13:02:09 +00:00
script:
- echo "Zipping the plugin in its v$ADDON_VERSION…"
- cd .. && zip -9 -r -q khanat_tools_v1.0.0.zip . -i khanat_tools/*
2023-03-08 19:23:51 +00:00
- mv khanat_tools_v$ADDON_VERSION.zip khanat_tools
2023-03-08 13:02:09 +00:00
artifacts:
paths:
2023-03-08 19:26:08 +00:00
- khanat_tools_v$ADDON_VERSION.zip