diff --git a/src/git.ts b/src/git.ts index 13aef3a..2af2b1c 100644 --- a/src/git.ts +++ b/src/git.ts @@ -27,7 +27,7 @@ export interface GitCommit extends RawGitCommit { } export async function getLastGitTag () { - const r = await execCommand('git', ['--no-pager', 'tag', '-l', '--sort=taggerdate']).then(r => r.split('\n')) + const r = await execCommand('git', ['--no-pager', 'tag', '-l', '--sort=creatordate']).then(r => r.split('\n')) return r[r.length - 1] }