diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d035118..e2c4839 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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' \ No newline at end of file + - '*.zip'