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:
parent
4ca5a4e226
commit
f2ba2faf26
|
@ -2,7 +2,9 @@
|
||||||
#
|
#
|
||||||
# Build a test zip from current branch for uploading to test site
|
# 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
|
composer install --no-dev
|
||||||
rm woocommerce-admin.zip
|
rm woocommerce-admin.zip
|
||||||
./bin/make-zip.sh woocommerce-admin.zip
|
./bin/make-zip.sh woocommerce-admin.zip
|
||||||
|
|
Loading…
Reference in New Issue