woocommerce/plugins/woocommerce-admin/bin/build-test-zip.sh

11 lines
241 B
Bash
Executable File

#!/bin/sh
#
# Build a test zip from current branch for uploading to test site
#
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