Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 79676ab

Browse files
authored
Exclude three more files from the build ZIP (#2514)
1 parent 5a0baa1 commit 79676ab

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

bin/build-plugin-zip.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ copy_dest_files() {
8383
--exclude=package.json \
8484
--exclude=package-lock.json \
8585
--exclude=none \
86+
--exclude=blocks.ini \
87+
--exclude=docker-compose.yml \
88+
--exclude=tsconfig.json \
8689
--exclude=woocommerce-gutenberg-products-block.zip \
8790
--exclude="zip-file/"
8891
status "Done copying files!"

bin/wordpress-deploy.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ copy_dest_files() {
6262
--exclude="*.config.json" \
6363
--exclude=package.json \
6464
--exclude=package-lock.json \
65-
--exclude=none
65+
--exclude=none \
66+
--exclude=blocks.ini \
67+
--exclude=docker-compose.yml \
68+
--exclude=tsconfig.json
6669
output 2 "Done copying files!"
6770
cd "$3" || exit
6871
}

0 commit comments

Comments
 (0)