Skip to content

Commit cd5d4c8

Browse files
committed
Fix chakra-core#962: Copyright Check should check versus target branch instead of master.
1 parent 6267a5a commit cd5d4c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jenkins/check_copyright.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rm -f $ERRFILE
1818
rm -f $ERRFILETEMP
1919

2020
echo "Check Copyright > Begin Checking..."
21-
git diff --name-only `git merge-base origin/master HEAD` HEAD |
21+
git diff --name-only `git merge-base origin/$ghprbTargetBranch HEAD` HEAD |
2222
grep -v -E '\.git.*' |
2323
grep -v -E '\.xml$' |
2424
grep -v -E '\.props$' |

0 commit comments

Comments
 (0)