Created
January 24, 2020 15:07
-
-
Save devonhk/f93075299fc960a2e6124f77c8aa502e to your computer and use it in GitHub Desktop.
detect changed files in mono repo
This file contains hidden or 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
CHANGED_FOLDERS=$(git diff --name-status $TRAVIS_COMMIT_RANGE -- | awk 'BEGIN {FS="/"} {print $1}' | awk '{print $2}' | uniq) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment