Skip to content

Commit

Permalink
Merge pull request #16553 from Nexus-Mods/updater-fixed-version-compa…
Browse files Browse the repository at this point in the history
…rison

fixed updater ignoring pre-release tag
  • Loading branch information
insomnious authored Oct 9, 2024
2 parents cb3cc44 + eb3adef commit aabd74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/updater/autoupdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function setupAutoUpdate(api: IExtensionApi) {

// is update version greater than our current version?

if (semver.satisfies(updateInfo.version, `>${autoUpdater.currentVersion.version}`)) {
if (semver.satisfies(updateInfo.version, `>${autoUpdater.currentVersion.version}`, { includePrerelease: true })) {

// normal upgrade

Expand Down

0 comments on commit aabd74b

Please sign in to comment.