Remove post-merge.sh

This commit is contained in:
Chi-Hsuan Huang 2022-04-05 11:57:07 +08:00
parent f2dcc1f705
commit 7e146cf353
1 changed files with 0 additions and 15 deletions

View File

@ -1,15 +0,0 @@
#!/bin/bash
changedFiles="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"
runOnChange() {
if echo "$changedFiles" | grep -q "$1"
then
eval "$2"
fi
}
runOnChange "pnpm-lock.yaml" "pnpm install"
runOnChange "composer.lock" "SKIP_UPDATE_TEXTDOMAINS=true composer install"
runOnChange "plugins/woocommerce/composer.lock" "SKIP_UPDATE_TEXTDOMAINS=true composer --working-dir=plugins/woocommerce install"
runOnChange "plugins/woocommerce-beta-tester/composer.lock" "SKIP_UPDATE_TEXTDOMAINS=true composer --working-dir=plugins/woocommerce-beta-tester install"