Godot_bridge/.gitlab-ci.yml

25 lines
535 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…"
- rm .gitlab-ci.yml
- rm .gitignore
2023-03-08 19:39:15 +00:00
- cd .. && zip -9 -r -q khanat_tools_v1.0.0.zip khanat-tools/*
2023-03-08 19:35:10 +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:31:09 +00:00
- khanat_tools_v$ADDON_VERSION.zip