We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9be15e commit dcab783Copy full SHA for dcab783
scripts/test-commit-messages.js
@@ -36,8 +36,9 @@ execSync('git fetch origin');
36
// Travis doesn't have master when running jobs on other branches (minor/patch/etc).
37
execSync('git fetch origin master:master');
38
39
+const branch = process.env.TRAVIS_BRANCH;
40
-const output = execSync('git log master.. --reverse --format="%H %s" --no-merges', {
41
+const output = execSync('git log ' + branch + '..HEAD --reverse --format="%H %s" --no-merges', {
42
encoding: 'utf-8'
43
});
44
0 commit comments