Merge pull request woocommerce/woocommerce-admin#2072 from woocommerce/fix/release-build

Fix Plugin release build zip structure
This commit is contained in:
Paul Sealock 2019-04-18 07:26:22 +12:00 committed by GitHub
commit 42b31bd787
1 changed files with 2 additions and 4 deletions

View File

@ -72,10 +72,8 @@ build_files=$(ls dist/*/*.{js,css})
status "Creating archive... 🎁" status "Creating archive... 🎁"
zip -r woocommerce-admin.zip \ zip -r woocommerce-admin.zip \
woocommerce-admin.php \ woocommerce-admin.php \
lib/*.php \ includes/ \
includes/*.php \ images/ \
includes/**/*.php \
images/* \
$build_files \ $build_files \
languages/woocommerce-admin.pot \ languages/woocommerce-admin.pot \
languages/woocommerce-admin.php \ languages/woocommerce-admin.php \