Skip to content

Commit

Permalink
Merge pull request #19 from Ulauncher/release-regex
Browse files Browse the repository at this point in the history
fix: release version regex
  • Loading branch information
friday authored Nov 16, 2023
2 parents c124bf2 + 8e7c7c1 commit e52cc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jQuery(function($) {
});

// hide dev release if it's the same as stable
const verRegex = /^(\d+)\.(\d+)\.(\d+)/
const verRegex = /^v?(\d+)\.(\d+)\.(\d+)/
const stableMatch = stableVer.match(verRegex)
const devMatch = devVer.match(verRegex)
const stMaj = parseInt(stableMatch[1], 10)
Expand Down

0 comments on commit e52cc12

Please sign in to comment.