mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-25 11:48:45 +00:00
remove redundancy when dirty
This commit is contained in:
parent
9b609747e2
commit
b029831d0c
2 changed files with 3 additions and 2 deletions
|
@ -23,7 +23,7 @@ public class ServerConfiguration
|
|||
// You can use an ObsoleteAttribute instead. Make sure you set it to error, though.
|
||||
//
|
||||
// Thanks for listening~
|
||||
public const int CurrentConfigVersion = 9;
|
||||
public const int CurrentConfigVersion = 10;
|
||||
|
||||
#region Meta
|
||||
|
||||
|
|
|
@ -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.",
|
||||
LogArea.Startup
|
||||
);
|
||||
OrdinalCommitNumber = $"{Branch}-dirty_r{commitNumber}";
|
||||
if (ServerConfiguration.Instance.Customization.UseLessReliableNumericRevisionNumberingSystem) // remove redundancy
|
||||
OrdinalCommitNumber = $"{Branch}-dirty_r{commitNumber}";
|
||||
CanCheckForUpdates = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue