From 54ff38ebf3043cc901cd3ac79c5ba5b0981d3d6d Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Tue, 18 Jul 2023 07:57:33 +0100 Subject: [PATCH] Fix update version check (#394) --- Bloxstrap/Bootstrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index c59c8de..8e30496 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -545,7 +545,7 @@ namespace Bloxstrap 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;