mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
chore: sort changelog tags by date
This commit is contained in:
parent
01e447e3a5
commit
92405b31db
@ -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]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user