From 503c8192f9c354351ac355ea85a69c6552cb96df Mon Sep 17 00:00:00 2001 From: Zingabopp Date: Fri, 20 Aug 2021 00:33:05 -0500 Subject: [PATCH] Version bump, 1.0.0-Beta --- BeatSyncConsole/BeatSyncConsole.csproj | 3 ++- BeatSyncConsole/Program.cs | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/BeatSyncConsole/BeatSyncConsole.csproj b/BeatSyncConsole/BeatSyncConsole.csproj index 8faefdc..996f490 100644 --- a/BeatSyncConsole/BeatSyncConsole.csproj +++ b/BeatSyncConsole/BeatSyncConsole.csproj @@ -5,7 +5,8 @@ netcoreapp3.1 8.0 enable - 0.9.4 + 1.0.0 + BETA $(SolutionDir)BeatSyncConsole=.\ LICENSE https://github.com/Zingabopp/BeatSync diff --git a/BeatSyncConsole/Program.cs b/BeatSyncConsole/Program.cs index 3c43de2..be67dc7 100644 --- a/BeatSyncConsole/Program.cs +++ b/BeatSyncConsole/Program.cs @@ -258,7 +258,11 @@ static async Task Main(string[] args) .WithParsed(RunOptions) .WithNotParsed(HandleParseErrors); ConsoleLogWriter? consoleLogger = SetupLogging(); + var ver = Assembly.GetExecutingAssembly().GetName(); string version = Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "0.0.0.0"; +#if BETA + version = version + "-Beta"; +#endif Logger.log.Info($"Starting BeatSyncConsole v{version} |{VersionInfo.Description}"); foreach (var msg in ArgErrorMsgs) {