Created
October 18, 2019 07:38
-
-
Save vincentchalamon/74f80e1ac9a19365415191225f560345 to your computer and use it in GitHub Desktop.
Bash command to check a file has been modified in a branch comparing to another
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
git diff --name-only origin/$CI_COMMIT_REF_NAME $(git merge-base origin/$CI_COMMIT_REF_NAME origin/develop) | grep CHANGELOG.md > /dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment