Skip to content

Commit

Permalink
Improved version numbering for single-point releases
Browse files Browse the repository at this point in the history
  • Loading branch information
linfindel committed May 28, 2024
1 parent f6a1366 commit 61bbac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion about.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fetch(`https://api.github.com/repos/${username}/${repo}/commits?per_page=1`)
console.log(`Total commit count: ${totalCount}`);
console.log(`Latest commit message: ${latestCommitMessage}`);

document.getElementById("version").innerText = `Version ${totalCount} Release Notes`;
document.getElementById("version").innerText = `Version ${totalCount.toFixed(2)} Release Notes`;
document.getElementById("whats-new").innerText = latestCommitMessage;

document.getElementById("about-card").style.opacity = "1";
Expand Down

0 comments on commit 61bbac0

Please sign in to comment.