22 lines
450 B
YAML
22 lines
450 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/*
|
|
- ls
|
|
artifacts:
|
|
paths:
|
|
- khanat_tools_v$ADDON_VERSION.zip
|