diff --git a/index.js b/index.js index fdaa3c0..21103a4 100644 --- a/index.js +++ b/index.js @@ -87,7 +87,7 @@ class KeepAChangelog extends Plugin { if (updatedChangelog.includes(latestVersionLink)) { return updatedChangelog.replace(latestVersionLink, `${releaseLink}${this.EOL}${latestVersionLink}`); } else { - return `${updatedChangelog}${this.EOL}${versionLink}${this.EOL}`; + return `${updatedChangelog}${this.EOL}${releaseLink}${this.EOL}`; } }