From be1e34a222ee38847bb31ced3d415bb9129e1b8e Mon Sep 17 00:00:00 2001 From: Evan Date: Thu, 26 May 2022 15:46:08 +0200 Subject: [PATCH 1/3] Update PluginManager.cs --- Smod2/PluginManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Smod2/PluginManager.cs b/Smod2/PluginManager.cs index a1fdd0f..ba65550 100644 --- a/Smod2/PluginManager.cs +++ b/Smod2/PluginManager.cs @@ -29,6 +29,8 @@ public class PluginManager public static readonly int SMOD_REVISION = 1; public static readonly string SMOD_BUILD = "B"; + + internal const string AssemblyVersion = "3.10.1.0"; public static readonly string DEPENDENCY_FOLDER = "dependencies"; From cf859964b56d5f58dd34815ed05c71849965646d Mon Sep 17 00:00:00 2001 From: Evan Date: Thu, 26 May 2022 16:10:31 +0200 Subject: [PATCH 2/3] Add const for assembly version --- Smod2/PluginManager.cs | 2 +- Smod2/Properties/AssemblyInfo.cs | 5 +++-- Smod2/Smod2.csproj | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Smod2/PluginManager.cs b/Smod2/PluginManager.cs index ba65550..77a5fd1 100644 --- a/Smod2/PluginManager.cs +++ b/Smod2/PluginManager.cs @@ -29,7 +29,7 @@ public class PluginManager public static readonly int SMOD_REVISION = 1; public static readonly string SMOD_BUILD = "B"; - + /// Used by AssemblyInfo.cs, needs to be a const. internal const string AssemblyVersion = "3.10.1.0"; public static readonly string DEPENDENCY_FOLDER = "dependencies"; diff --git a/Smod2/Properties/AssemblyInfo.cs b/Smod2/Properties/AssemblyInfo.cs index d16afc9..475e470 100644 --- a/Smod2/Properties/AssemblyInfo.cs +++ b/Smod2/Properties/AssemblyInfo.cs @@ -26,5 +26,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.9.0.0")] //Just imagine the last character is the equivalent letter because otherwise it gets angry -[assembly: AssemblyFileVersion("3.9.0.0")] +[assembly: AssemblyVersion(Smod2.PluginManager.AssemblyVersion)] +[assembly: AssemblyFileVersion(Smod2.PluginManager.AssemblyVersion)] +[assembly: AssemblyInformationalVersion(Smod2.PluginManager.AssemblyVersion)] diff --git a/Smod2/Smod2.csproj b/Smod2/Smod2.csproj index 8bc2ac3..ab01880 100644 --- a/Smod2/Smod2.csproj +++ b/Smod2/Smod2.csproj @@ -8,5 +8,7 @@ false false false + https://github.com/ServerMod/Smod2 + false From 255eb8781ec67e92bb8225c47799112bb4573110 Mon Sep 17 00:00:00 2001 From: Evan Date: Thu, 26 May 2022 16:36:58 +0200 Subject: [PATCH 3/3] Update README.md (#214) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1819b36..1d18e18 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ServerMod2 [![Release](https://img.shields.io/github/release/ServerMod/Smod2.svg)](https://github.com/ServerMod/Smod2/releases) [![Downloads](https://img.shields.io/github/downloads/ServerMod/Smod2/total.svg)](https://github.com/ServerMod/Smod2/releases) [![Discord Server](https://img.shields.io/discord/430468637183442945.svg?label=discord)](https://discord.gg/8nvmMTr) +# ServerMod2 [![Release](https://img.shields.io/github/release/ServerMod/Smod2.svg)](https://github.com/ServerMod/Smod2/releases) [![Downloads](https://img.shields.io/github/downloads/ServerMod/Smod2/total.svg)](https://github.com/ServerMod/Smod2/releases) [![GitHub latest commit](https://badgen.net/github/last-commit/ServerMod/Smod2)](https://GitHub.com/ServerMod/Smod2/commit/) [![Discord Server](https://img.shields.io/discord/430468637183442945.svg?label=discord)](https://discord.gg/8nvmMTr) ServerMod2 is a server side plugin system with a bunch of additional configuration options, bug fixes, security patches and some optimisations built in. For how to use/configure SMod, go to the [SMOD WIKI](https://github.com/Grover-c13/Smod2/wiki)