remove redundancy when dirty

This commit is contained in:
Toru the Red Fox 2022-07-27 20:12:38 +01:00
commit b029831d0c
2 changed files with 3 additions and 2 deletions

View file

@ -23,7 +23,7 @@ public class ServerConfiguration
// You can use an ObsoleteAttribute instead. Make sure you set it to error, though. // You can use an ObsoleteAttribute instead. Make sure you set it to error, though.
// //
// Thanks for listening~ // Thanks for listening~
public const int CurrentConfigVersion = 9; public const int CurrentConfigVersion = 10;
#region Meta #region Meta

View file

@ -63,7 +63,8 @@ public static class VersionHelper
"Please make sure you are properly disclosing the source code to any users who may be using this instance.", "Please make sure you are properly disclosing the source code to any users who may be using this instance.",
LogArea.Startup LogArea.Startup
); );
OrdinalCommitNumber = $"{Branch}-dirty_r{commitNumber}"; if (ServerConfiguration.Instance.Customization.UseLessReliableNumericRevisionNumberingSystem) // remove redundancy
OrdinalCommitNumber = $"{Branch}-dirty_r{commitNumber}";
CanCheckForUpdates = false; CanCheckForUpdates = false;
} }
} }