Created
March 21, 2022 09:25
-
-
Save osadan/03a5066265218f55d014cd2ddb4ad10f to your computer and use it in GitHub Desktop.
detect chnaged folders from git commi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BRANCH_POINT="$(git merge-base $(git rev-parse --abbrev-ref HEAD) | |
$(git describe origin/master))" | |
changedPackages="$(npx lerna ls -p --since $BRANCH_POINT --include-dependents)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment