diff --git a/lib/workers/repository/update/pr/changelog/source-github.ts b/lib/workers/repository/update/pr/changelog/source-github.ts index 9b7bc2922b6668..2430d6f5b80c9b 100644 --- a/lib/workers/repository/update/pr/changelog/source-github.ts +++ b/lib/workers/repository/update/pr/changelog/source-github.ts @@ -195,9 +195,9 @@ function findTagOfRelease( tags: string[] ): string | undefined { const regex = regEx(`(?:${packageName}|release)[@-]`, undefined, false); - const excactReleaseRegex = regEx(`${packageName}[@\\-_]v?${depNewVersion}`); + const exactReleaseRegex = regEx(`${packageName}[@\\-_]v?${depNewVersion}`); const exactTagsList = tags.filter((tag) => { - return excactReleaseRegex.test(tag); + return exactReleaseRegex.test(tag); }); let tagName: string | undefined; if (exactTagsList.length) {