From 4b64ac062926844a2fec5c69c43a59de56d23584 Mon Sep 17 00:00:00 2001 From: Nicola Peluchetti Date: Fri, 6 Feb 2026 11:10:47 +0100 Subject: [PATCH] fix --- .github/workflows/build-release.yml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 3e23130..5207628 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -35,33 +35,42 @@ jobs: - name: Build assets run: npm run build - - name: Create build directory - run: mkdir -p build/dubinc + - name: Create plugin directory for zip + run: | + mkdir -p /tmp/dubinc - name: Copy plugin files run: | - rsync -rc --exclude-from=".distignore" . build/dubinc/ \ - --exclude=build \ + rsync -rc . /tmp/dubinc/ \ --exclude=.git \ --exclude=.github \ --exclude=node_modules \ --exclude=assets/js \ --exclude=assets/css \ --exclude=.gitignore \ + --exclude=.gitattributes \ --exclude=.editorconfig \ --exclude=.eslintrc.json \ --exclude=.eslintignore \ --exclude=.lintstagedrc.json \ + --exclude=.distignore \ --exclude=ruleset.xml \ --exclude=package.json \ --exclude=package-lock.json \ --exclude=composer.lock \ - --exclude=README.md + --exclude=README.md \ + --exclude=.DS_Store \ + --exclude=Thumbs.db - - name: Create zip file + - name: Create zip file with proper structure + run: | + cd /tmp + zip -r $GITHUB_WORKSPACE/dubinc.zip dubinc + + - name: Verify zip structure run: | - cd build - zip -r ../dubinc.zip dubinc + echo "Zip contents:" + unzip -l dubinc.zip | head -20 - name: Get version from tag id: get_version