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: before_script:
- apk add --update zip - apk add --update zip
script: script:
- echo "Zipping the plugin..." - echo "Zipping the plugin in its v$ADDON_VERSION…"
- zip -9 -r -q khanat_tools_v$ADDON_VERSION.zip * - cd .. && zip -9 -r -q khanat_tools_v$ADDON_VERSION.zip khanat_tools/*
- mv khanat_tools_v$ADDON_VERSION.zip khanat_tools/
artifacts: artifacts:
paths: paths:
- '*.zip' - '*.zip'

View file

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