Skip to content

Commit

Permalink
Update Website/app/Releases.js
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
aaronrojas32 and coderabbitai[bot] authored Oct 4, 2024
1 parent 2c26b9f commit a677921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Website/app/Releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default function Releases({ props }) {

props.release.forEach((item) => {
// Skip the pre-release if a stable version with the same base version exists
const baseVersion = item.tag_name.split('-')[0]; // Extract the base version (e.g., v2.1.0 from v2.1.0-rc.1)
const baseVersion = item.tag_name.match(/^v?\d+\.\d+\.\d+/)?.[0]; // Match semantic versioning pattern

if (
item.prerelease &&
Expand Down

0 comments on commit a677921

Please sign in to comment.