diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2016-10-25 02:17:07 +0300 |
---|---|---|
committer | Kat Marchán <kzm@sykosomatic.org> | 2016-10-25 02:45:25 +0300 |
commit | 59acd180712c8bf974f7ac916b9a8e3b3cbf1c10 (patch) | |
tree | 9e274bb59954679c164acca726d75c5b90909c9e /scripts | |
parent | 964f2d3a0675584267e6ece95b0115a53c6ca6a9 (diff) |
gen-changelog: change default branch to latest
Credit: @zkat
Reviewed-By: @iarna
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/changelog.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js index abbec4b4e..e738f5c62 100644 --- a/scripts/changelog.js +++ b/scripts/changelog.js @@ -5,14 +5,14 @@ Usage: node scripts/changelog.js [comittish] Generates changelog entries in our format as best as its able based on -commits starting at comittish, or if that's not passed, master. +commits starting at comittish, or if that's not passed, latest. Ordinarily this is run via the gen-changelog shell script, which appends the result to the changelog. */ const execSync = require('child_process').execSync -const branch = process.argv[2] || 'master' +const branch = process.argv[2] || 'latest' const log = execSync(`git log --reverse --pretty='format:%h %H%d %s (%aN)%n%b%n---%n' ${branch}...`).toString().split(/\n/) main() |