Exclude bundlesize and composer files from being deployed ZIP (https://github.com/woocommerce/woocommerce-blocks/pull/937)

* Add bundlesize to .gitattributes ignores

* Typo

* Add composer files to .gitattributes ignores
This commit is contained in:
Albert Juhé Lluveras 2019-09-03 14:33:25 +02:00 committed by GitHub
parent f8086a4926
commit 0b45200d36
2 changed files with 4 additions and 1 deletions

View File

@ -5,9 +5,12 @@
/bin export-ignore /bin export-ignore
/phpcs.xml export-ignore /phpcs.xml export-ignore
/phpunit.* export-ignore /phpunit.* export-ignore
/composer.lock export-ignore
/composer.json export-ignore
/renovate.json export-ignore /renovate.json export-ignore
/webpack.config.js export-ignore /webpack.config.js export-ignore
/postcss.config.js export-ignore /postcss.config.js export-ignore
/bundlesize.config.json export-ignore
/package.json export-ignore /package.json export-ignore
/package-lock.json export-ignore /package-lock.json export-ignore
/babel-config.js export-ignore /babel-config.js export-ignore

View File

@ -53,7 +53,7 @@ echo "Before proceeding:"
echo " • Ensure you have checked out the branch you wish to release" echo " • Ensure you have checked out the branch you wish to release"
echo " • Ensure you have committed/pushed all local changes" echo " • Ensure you have committed/pushed all local changes"
echo " • Did you remember to update versions, changelogs, and stable tags in the readme and plugin files?" echo " • Did you remember to update versions, changelogs, and stable tags in the readme and plugin files?"
echo " • If you are running this script directory instead of via '$ npm run deploy', ensure you have built assets and installed composer in --no-dev mode." echo " • If you are running this script directly instead of via '$ npm run deploy', ensure you have built assets and installed composer in --no-dev mode."
echo echo
output 3 "Do you want to continue? [y/N]: " output 3 "Do you want to continue? [y/N]: "
read -r PROCEED read -r PROCEED