chore: sort changelog tags by date

This commit is contained in:
Pooya Parsa 2019-10-21 10:13:52 +02:00
parent 01e447e3a5
commit 92405b31db

View File

@ -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]
}