Skip to content

Commit

Permalink
Fix update version check (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Jul 18, 2023
1 parent 33aab4f commit 54ff38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bloxstrap/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ private async Task CheckForUpdates()
int versionComparison = Utilities.CompareVersions(App.Version, releaseInfo.TagName);

// check if we aren't using a deployed build, so we can update to one if a new version comes out
if (versionComparison == 0 && App.BuildMetadata.CommitRef.StartsWith("tag") || versionComparison == -1)
if (versionComparison == 0 && App.BuildMetadata.CommitRef.StartsWith("tag") || versionComparison == 1)
{
App.Logger.WriteLine($"[Bootstrapper::CheckForUpdates] No updates found");
return;
Expand Down

0 comments on commit 54ff38e

Please sign in to comment.