2023-03-08 13:02:09 +00:00
|
|
|
# This CI is for zipping the plugin when ready for distribution
|
2023-03-08 18:35:51 +00:00
|
|
|
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..."
|
2023-03-08 18:37:45 +00:00
|
|
|
- zip -9 -r -q khanat_tools_v$ADDON_VERSION.zip *
|
2023-03-08 13:02:09 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2023-03-08 18:35:51 +00:00
|
|
|
- '*.zip'
|