From 92405b31db5ca165df2edf1eca700efe3434377a Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 21 Oct 2019 10:13:52 +0200 Subject: [PATCH] chore: sort changelog tags by date --- scripts/changelog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/changelog.js b/scripts/changelog.js index 4ef15958ad..9921208870 100644 --- a/scripts/changelog.js +++ b/scripts/changelog.js @@ -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] }