chore: trim tag (#28687)

This commit is contained in:
Daniel Roe 2024-08-23 21:08:58 +01:00 committed by GitHub
parent 0d742647a3
commit 12d252f5e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,7 +110,7 @@ export async function getLatestCommits () {
const config = await loadChangelogConfig(process.cwd())
const { stdout: latestTag } = await exec('git', ['describe', '--tags', '--abbrev=0'])
return parseCommits(await getGitDiff(latestTag), config)
return parseCommits(await getGitDiff(latestTag.trim()), config)
}
export async function getContributors () {