Skip to content

Commit

Permalink
chore: sort changelog tags by date
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 21, 2019
1 parent 01e447e commit 92405b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function execCommand (cmd, args) {
}

async function getLastGitTag () {
const r = await execCommand('git', ['--no-pager', 'tag', '-l']).then(r => r.split('\n'))
const r = await execCommand('git', ['--no-pager', 'tag', '-l', '--sort=taggerdate']).then(r => r.split('\n'))
return r[r.length - 1]
}

Expand Down

0 comments on commit 92405b3

Please sign in to comment.