From 62419456a3c6ca5cc7f3cadb0640fb471fcfa2bd Mon Sep 17 00:00:00 2001 From: yannk Date: Wed, 8 Mar 2023 20:16:55 +0100 Subject: [PATCH] ci: Organizing the CI for proper zip hierarchy --- .gitlab-ci.yml | 5 +++-- __init__.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 04842ae..d3aa1ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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' diff --git a/__init__.py b/__init__.py index ca3c443..c1400ba 100644 --- a/__init__.py +++ b/__init__.py @@ -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