Skip to content

Commit

Permalink
prereleases no longer show up in the release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
0neGal committed Apr 22, 2022
1 parent 9ae7cc3 commit 66162ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ ipcRenderer.on("vp-notes", (event, response) => {
let content = "";

for (const release of response) {
if (release.prerelease) {continue}

content += "# " + release.name + "\n\n"
+ release.body.replaceAll("\r\n", "\n") + "\n\n\n";
}
Expand All @@ -42,6 +44,8 @@ ipcRenderer.on("ns-notes", (event, response) => {
let content = "";

for (let release of response) {
if (release.prerelease) {continue}

content += "# " + release.name + "\n\n"
+ release.body.replaceAll("\r\n", "\nhtmlbreak") + "\n\n\n";
}
Expand Down

0 comments on commit 66162ef

Please sign in to comment.