fix: bug with locating the previous tag (#1470)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack
2023-08-22 13:41:54 -06:00
committed by GitHub
parent 18bacaab15
commit fc63326544
3 changed files with 3 additions and 3 deletions

View File

@@ -739,7 +739,7 @@ export const getPreviousGitTag = async ({
}): Promise<{tag: string; sha: string}> => {
const {stdout} = await exec.getExecOutput(
'git',
['tag', '--sort=-version:refname'],
['tag', '--sort=-creatordate'],
{
cwd,
silent: !core.isDebug()