From 5d542f3eaa44734b8cd1b7aff8a0b03e75a4d7e8 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 24 Oct 2016 12:40:18 +0200 Subject: [PATCH] Updated bot version --- src/NadekoBot/NadekoBot.cs | 2 +- src/NadekoBot/Properties/AssemblyInfo.cs | 2 +- src/NadekoBot/Services/Impl/StatsService.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NadekoBot/NadekoBot.cs b/src/NadekoBot/NadekoBot.cs index 6e5d5e03..a50dd94c 100644 --- a/src/NadekoBot/NadekoBot.cs +++ b/src/NadekoBot/NadekoBot.cs @@ -43,7 +43,7 @@ namespace NadekoBot SetupLogger(); _log = LogManager.GetCurrentClassLogger(); - _log.Info("Starting NadekoBot v" + typeof(NadekoBot).GetTypeInfo().Assembly.GetCustomAttribute().InformationalVersion); + _log.Info("Starting NadekoBot v" + StatsService.BotVersion); Credentials = new BotCredentials(); diff --git a/src/NadekoBot/Properties/AssemblyInfo.cs b/src/NadekoBot/Properties/AssemblyInfo.cs index 9a06963a..ca3bd293 100644 --- a/src/NadekoBot/Properties/AssemblyInfo.cs +++ b/src/NadekoBot/Properties/AssemblyInfo.cs @@ -8,7 +8,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("NadekoBot")] [assembly: AssemblyTrademark("")] -[assembly: AssemblyInformationalVersion("1.0-alpha")] +[assembly: AssemblyInformationalVersion("1.0")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from diff --git a/src/NadekoBot/Services/Impl/StatsService.cs b/src/NadekoBot/Services/Impl/StatsService.cs index 61a27233..6a5c12c6 100644 --- a/src/NadekoBot/Services/Impl/StatsService.cs +++ b/src/NadekoBot/Services/Impl/StatsService.cs @@ -17,7 +17,7 @@ namespace NadekoBot.Services.Impl private DateTime started; private int commandsRan = 0; - public string BotVersion => "1.0-beta1"; + public const string BotVersion = "1.0-rc1"; public string Heap => Math.Round((double)GC.GetTotalMemory(false) / 1.MiB(), 2).ToString();