Skip to content

Commit

Permalink
Fix changelog generation
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers committed Dec 18, 2024
1 parent 137532a commit 23a23b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-changelog.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function getTagLastVersion() {
const lastVersion = fs
.readFileSync(`platform/${platform}/CHANGELOG.md`, "utf-8")
.split("\n")
.filter((line) => line.startsWith("## "))[1]
.filter((line) => line.startsWith("## "))[0]
.slice(3);
return `${platform}-v${lastVersion}`;
}
Expand Down

0 comments on commit 23a23b6

Please sign in to comment.