refactor: replace rsync with tar for packaging assets in release workflow
Some checks failed
Build & Release Plugin / release (push) Failing after 4s

This commit is contained in:
2026-02-01 01:12:09 +00:00
parent f2a39e4660
commit eba8df9962

View File

@@ -107,14 +107,15 @@ jobs:
DEST_DIR="$BUILD_ROOT/$SLUG"
mkdir -p "$DEST_DIR"
rsync -a ./ "$DEST_DIR" \
--exclude '.git/' \
--exclude '.github/' \
--exclude 'docker/' \
--exclude 'docs/' \
--exclude 'dist/' \
--exclude 'docker-compose.yml' \
--exclude 'PLAN.md'
tar -cf - \
--exclude='.git' \
--exclude='.github' \
--exclude='docker' \
--exclude='docs' \
--exclude='dist' \
--exclude='docker-compose.yml' \
--exclude='PLAN.md' \
. | tar -xf - -C "$DEST_DIR"
mkdir -p dist
ZIP_PATH="dist/${SLUG}-${VERSION}.zip"