Apply patch until a new AS version comes out.

This commit is contained in:
Peter Fabian 2020-02-07 11:32:33 +01:00
parent 5fc2e8fba9
commit 0eb758b8e2
1 changed files with 7 additions and 0 deletions

View File

@ -39,3 +39,10 @@ find ./packages/woocommerce-admin -iname '*.js' -exec sed -i.bak -e "s/, 'woocom
# Cleanup backup files
find ./packages -name "*.bak" -type f -delete
output 2 "Done!"
# Apply patches
output 2 "Applying patch #450 to Action Schduler"
cd packages/action-scheduler
curl -O https://patch-diff.githubusercontent.com/raw/woocommerce/action-scheduler/pull/450.patch
patch -p1 < 450.patch
output 2 "Done!"