ci: Writing a correct script for generation of the zipped addon.
This commit is contained in:
parent
6e023508d7
commit
c4a7838424
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
# This CI is for zipping the plugin when ready for distribution
|
||||
variables:
|
||||
ADDON_VERSION: "1.0.0"
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
@ -13,7 +15,7 @@ build-job:
|
|||
- apk add --update zip
|
||||
script:
|
||||
- echo "Zipping the plugin..."
|
||||
- for d in */ ; do cd $d; zip -r ../${d%/}.zip *; cd ..
|
||||
- zip -9 -r -q khanat_tools_v'$ADDON_VERSION'.zip *
|
||||
artifacts:
|
||||
paths:
|
||||
- '*.zip'
|
Loading…
Reference in a new issue