Do a git clean before the core release as well (https://github.com/woocommerce/woocommerce-admin/pull/6945)

* Also do a git clean before the core release

* Fix spacing and add changelog
This commit is contained in:
louwie17 2021-05-05 23:55:53 -03:00 committed by GitHub
parent 34d1f8c36c
commit a41fb35045
2 changed files with 6 additions and 0 deletions

View File

@ -111,6 +111,11 @@ status "Starting a Github release... 👷‍♀️"
./bin/github-deploy.sh ${PLUGIN_TAG} ${ZIP_FILE}
if [ $IS_CUSTOM_BUILD = false ]; then
# Remove ignored files to reset repository to pristine condition. Previous
# test ensures that changed files abort the plugin build.
status "Cleaning working directory... 🛀"
git clean -xdf
# Install PHP dependencies
status "Gathering PHP dependencies... 🐿️"
composer install --no-dev

View File

@ -90,6 +90,7 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
- Dev: Fixed storybook build script #6875
- Dev: Removed allowed keys list for adding woocommerce_meta data. #6889 🎉 @xristos3490
- Dev: Delete all products when running product import tests, unskip previously skipped test. #6905
- Dev: Do a git clean before the core release. #6945
- Enhancement: Add recommended payment methods in payment settings. #6760
- Enhancement: Add expand/collapse to extendable task list. #6910
- Enhancement: Add task hierarchy support to extended task list. #6916