ci: Cleaning zip file content for addon

This commit is contained in:
yannk 2023-03-29 12:46:04 +02:00
parent bd95d68ae4
commit 2571e5c3b8

View file

@ -15,6 +15,8 @@ build-job:
- apk add --update zip - apk add --update zip
script: script:
- echo "Zipping the plugin in its v$ADDON_VERSION…" - echo "Zipping the plugin in its v$ADDON_VERSION…"
- rm .gitlab-ci.yml
- rm .gitignore
- cd .. && zip -9 -r -q khanat_tools_v1.0.0.zip khanat-tools/* - cd .. && zip -9 -r -q khanat_tools_v1.0.0.zip khanat-tools/*
- mv khanat_tools_v$ADDON_VERSION.zip khanat-tools - mv khanat_tools_v$ADDON_VERSION.zip khanat-tools
artifacts: artifacts: