diff --git a/src/parser.ts b/src/parser.ts index c2727be1c..0a222dd4b 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -83,7 +83,7 @@ function processTokens(tokens: Token[], opts: Options): Changelog { while (link) { if (!changelog.url) { - const matches = link.match(/^\[.*\]\:\s*(http.*)\/compare\/.*$/); + const matches = link.match(/^\[.*\]\:\s*(http.*)\/(?:-\/)?compare\/.*$/); if (matches) { changelog.url = matches[1];