24 lines
522 B
YAML
24 lines
522 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 khanat-tools/*
|
|
- mv khanat_tools_v$ADDON_VERSION.zip khanat-tools
|
|
- ls
|
|
- ls khanat-tools
|
|
artifacts:
|
|
paths:
|
|
- khanat_tools_v$ADDON_VERSION.zip
|