Fix a bug where the test zip command used the wrong file suffix for JS (https://github.com/woocommerce/woocommerce-admin/pull/7094)

This commit is contained in:
Sam Seay 2021-06-03 14:09:20 +12:00 committed by GitHub
parent 4ca5a4e226
commit f2ba2faf26
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,9 @@
#
# Build a test zip from current branch for uploading to test site
#
npm run build
phase=${WC_ADMIN_PHASE:-plugin}
WC_ADMIN_PHASE=$phase npm run build
composer install --no-dev
rm woocommerce-admin.zip
./bin/make-zip.sh woocommerce-admin.zip