diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2016-11-04 05:15:36 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2016-11-04 05:18:08 +0300 |
commit | 3e579503a399669253f17e1795b9f607c4c0e4f1 (patch) | |
tree | 01c0b1c59d5f174511cb7aa817f9c8fda93d29d8 /scripts | |
parent | 1d9159440364d2fe21e8bc15e08e284aaa118347 (diff) |
scripts: don't rely on latest being checked out
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/changelog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js index e738f5c62..158a79cc4 100644 --- a/scripts/changelog.js +++ b/scripts/changelog.js @@ -12,7 +12,7 @@ the result to the changelog. */ const execSync = require('child_process').execSync -const branch = process.argv[2] || 'latest' +const branch = process.argv[2] || 'origin/latest' const log = execSync(`git log --reverse --pretty='format:%h %H%d %s (%aN)%n%b%n---%n' ${branch}...`).toString().split(/\n/) main() |