From 55146c0b17c58b4da37f23ddcd5922ebc6a30e69 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 3 Nov 2016 22:03:41 +1000 Subject: Fix version stuffs. --- OpenSim/Framework/Servers/Tests/VersionInfoTests.cs | 2 +- OpenSim/Framework/VersionInfo.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs index 480f2bb..2d72cb8 100644 --- a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs +++ b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs @@ -47,7 +47,7 @@ namespace OpenSim.Framework.Servers.Tests { foreach (VersionInfo.Flavour flavour in Enum.GetValues(typeof(VersionInfo.Flavour))) { - Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.GetVersionString("0.0.0", flavour).Length, "0.0.0/" + flavour + " failed"); + Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.GetVersionString("0.0.0", "0", flavour).Length, "0.0.0/" + flavour + " failed"); } } } diff --git a/OpenSim/Framework/VersionInfo.cs b/OpenSim/Framework/VersionInfo.cs index 356e720..1b9ec76 100644 --- a/OpenSim/Framework/VersionInfo.cs +++ b/OpenSim/Framework/VersionInfo.cs @@ -30,7 +30,7 @@ namespace OpenSim public class VersionInfo { public const string VersionNumber = "0.8.2.1"; - private const string IG_BUILD_NUMBER = "4"; + private const string IG_BUILD_NUMBER = "1"; private const Flavour VERSION_FLAVOUR = Flavour.IG; public enum Flavour @@ -48,7 +48,7 @@ namespace OpenSim public static string Version { - get { return GetVersionString(VersionNumber, IG_BUILD_NUMBER, IG_BUILD_NUMBER, VERSION_FLAVOUR); } + get { return GetVersionString(VersionNumber, IG_BUILD_NUMBER, VERSION_FLAVOUR); } } public static string GetVersionString(string versionNumber, string buildNumber, Flavour flavour) -- cgit v1.1