ci: Organizing the CI for proper zip hierarchy

This commit is contained in:
yannk 2023-03-08 20:16:55 +01:00
parent fb5c176418
commit 62419456a3
2 changed files with 5 additions and 4 deletions

View file

@ -14,8 +14,9 @@ build-job:
before_script:
- apk add --update zip
script:
- echo "Zipping the plugin..."
- zip -9 -r -q khanat_tools_v$ADDON_VERSION.zip *
- echo "Zipping the plugin in its v$ADDON_VERSION…"
- cd .. && zip -9 -r -q khanat_tools_v$ADDON_VERSION.zip khanat_tools/*
- mv khanat_tools_v$ADDON_VERSION.zip khanat_tools/
artifacts:
paths:
- '*.zip'

View file

@ -20,12 +20,12 @@
bl_info = {
"name": "Khanat Tools",
"author": "Yann Kervran",
"version": (1, 0),
"version": (1, 0, 0),
"blender": (3, 4, 0),
"location": "View3D > UI > Tools",
"description": "Toolset for Khanat project",
"doc_url": "https://git.numenaute.org/yannk/khanat-tools",
"category": "Generic",
"category": "Generic"
}
import os