We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4863481 commit 8e1d2d4Copy full SHA for 8e1d2d4
scripts/_utils.ts
@@ -112,7 +112,7 @@ export async function getLatestTag () {
112
}
113
114
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())
+ 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())
116
return latestReleasedTag
117
118
0 commit comments