diff options
Diffstat (limited to 'OpenSim/Framework/Servers/VersionInfo.cs')
-rw-r--r-- | OpenSim/Framework/Servers/VersionInfo.cs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenSim/Framework/Servers/VersionInfo.cs b/OpenSim/Framework/Servers/VersionInfo.cs index 07ad3b3..cad83cd 100644 --- a/OpenSim/Framework/Servers/VersionInfo.cs +++ b/OpenSim/Framework/Servers/VersionInfo.cs | |||
@@ -30,7 +30,8 @@ namespace OpenSim | |||
30 | public class VersionInfo | 30 | public class VersionInfo |
31 | { | 31 | { |
32 | private const string VERSION_NUMBER = "0.7.5"; | 32 | private const string VERSION_NUMBER = "0.7.5"; |
33 | private const Flavour VERSION_FLAVOUR = Flavour.Post_Fixes; | 33 | private const string BUILD_NUMBER = "1"; |
34 | private const Flavour VERSION_FLAVOUR = Flavour.InfiniteGrid; | ||
34 | 35 | ||
35 | public enum Flavour | 36 | public enum Flavour |
36 | { | 37 | { |
@@ -40,21 +41,22 @@ namespace OpenSim | |||
40 | RC2, | 41 | RC2, |
41 | Release, | 42 | Release, |
42 | Post_Fixes, | 43 | Post_Fixes, |
43 | Extended | 44 | Extended, |
45 | InfiniteGrid | ||
44 | } | 46 | } |
45 | 47 | ||
46 | public static string Version | 48 | public static string Version |
47 | { | 49 | { |
48 | get { return GetVersionString(VERSION_NUMBER, VERSION_FLAVOUR); } | 50 | get { return GetVersionString(VERSION_NUMBER, VERSION_FLAVOUR, BUILD_NUMBER); } |
49 | } | 51 | } |
50 | 52 | ||
51 | public static string GetVersionString(string versionNumber, Flavour flavour) | 53 | public static string GetVersionString(string versionNumber, Flavour flavour, string buildNumber) |
52 | { | 54 | { |
53 | string versionString = "OpenSim " + versionNumber + " " + flavour; | 55 | string versionString = "OpenSim " + versionNumber + " " + flavour + " build " + buildNumber; |
54 | return versionString.PadRight(VERSIONINFO_VERSION_LENGTH); | 56 | return versionString.PadRight(VERSIONINFO_VERSION_LENGTH); |
55 | } | 57 | } |
56 | 58 | ||
57 | public const int VERSIONINFO_VERSION_LENGTH = 27; | 59 | public const int VERSIONINFO_VERSION_LENGTH = 34; |
58 | 60 | ||
59 | /// <value> | 61 | /// <value> |
60 | /// This is the external interface version. It is separate from the OpenSimulator project version. | 62 | /// This is the external interface version. It is separate from the OpenSimulator project version. |