Merge pull request #835 from tgstation/Cyberboss-patch-1 [NugetDeploy]

Minor version bumps do not break API
This commit is contained in:
Jordan Brown
2018-12-23 14:38:40 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ namespace Tgstation.Server.Api
/// </summary>
/// <param name="otherVersion">The <see cref="Version"/> to test</param>
/// <returns><see langword="true"/> if the given version is compatible with the API. <see langword="false"/> otherwise</returns>
public static bool CheckCompatibility(Version otherVersion) => !(Version.Major != otherVersion.Major || Version.Minor != otherVersion.Minor || Version.Build > otherVersion.Build);
public static bool CheckCompatibility(Version otherVersion) => !(Version.Major != otherVersion.Major || Version.Minor > otherVersion.Minor);
/// <summary>
/// Construct <see cref="ApiHeaders"/> for JWT authentication
@@ -15,7 +15,7 @@
<Copyright>2018</Copyright>
<PackageTags>json web api tgstation-server tgstation ss13 byond</PackageTags>
<PackageReleaseNotes>Initial release</PackageReleaseNotes>
<Version>4.0.1.0</Version>
<Version>4.0.1.1</Version>
<CodeAnalysisRuleSet>../../build/analyzers.ruleset</CodeAnalysisRuleSet>
<LangVersion>latest</LangVersion>
</PropertyGroup>