fix: build Gitea release archive without rsync
Build plugin release / release (push) Successful in 4s

This commit is contained in:
2026-08-24 10:09:08 +03:30
parent 79564cfaa2
commit e7d718cd0e
3 changed files with 12 additions and 12 deletions
+6 -10
View File
@@ -21,16 +21,12 @@ jobs:
run: |
VERSION="${RELEASE_TAG#v}"
grep -q "Version: ${VERSION}$" dabestaniha-authenticate-bridge.php
mkdir -p build/mahak-authenticate-bridge dist
rsync -a \
--exclude='.git/' \
--exclude='.gitea/' \
--exclude='build/' \
--exclude='dist/' \
--exclude='test/' \
./ build/mahak-authenticate-bridge/
cd build
zip -qr ../dist/mahak-authenticate-bridge.zip mahak-authenticate-bridge
mkdir -p dist
git archive \
--format=zip \
--prefix=mahak-authenticate-bridge/ \
--output=dist/mahak-authenticate-bridge.zip \
HEAD
- name: Publish Gitea release
env: