refactor: replace rsync with tar for packaging assets in release workflow
Some checks failed
Build & Release Plugin / release (push) Failing after 4s
Some checks failed
Build & Release Plugin / release (push) Failing after 4s
This commit is contained in:
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
@@ -107,14 +107,15 @@ jobs:
|
|||||||
DEST_DIR="$BUILD_ROOT/$SLUG"
|
DEST_DIR="$BUILD_ROOT/$SLUG"
|
||||||
mkdir -p "$DEST_DIR"
|
mkdir -p "$DEST_DIR"
|
||||||
|
|
||||||
rsync -a ./ "$DEST_DIR" \
|
tar -cf - \
|
||||||
--exclude '.git/' \
|
--exclude='.git' \
|
||||||
--exclude '.github/' \
|
--exclude='.github' \
|
||||||
--exclude 'docker/' \
|
--exclude='docker' \
|
||||||
--exclude 'docs/' \
|
--exclude='docs' \
|
||||||
--exclude 'dist/' \
|
--exclude='dist' \
|
||||||
--exclude 'docker-compose.yml' \
|
--exclude='docker-compose.yml' \
|
||||||
--exclude 'PLAN.md'
|
--exclude='PLAN.md' \
|
||||||
|
. | tar -xf - -C "$DEST_DIR"
|
||||||
|
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
ZIP_PATH="dist/${SLUG}-${VERSION}.zip"
|
ZIP_PATH="dist/${SLUG}-${VERSION}.zip"
|
||||||
|
|||||||
Reference in New Issue
Block a user