Skip to content

Commit 8e1d2d4

Browse files
committed
chore: Fix changelog script
1 parent 4863481 commit 8e1d2d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/_utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export async function getLatestTag () {
112112
}
113113

114114
export async function getLatestReleasedTag () {
115-
const latestReleasedTag = await exec('git', ['tag', '-l']).then(r => r.stdout.trim().split('\n').filter(t => /v2\.\d+\.\d+/.test(t)).sort(compare)).then(r => r.pop()!.trim())
115+
const latestReleasedTag = await exec('git', ['tag', '-l']).then(r => r.stdout.trim().split('\n').filter(t => /v1\.\d+\.\d+/.test(t)).sort(compare)).then(r => r.pop()!.trim())
116116
return latestReleasedTag
117117
}
118118

0 commit comments

Comments
 (0)