aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/VersionInfo.cs
diff options
context:
space:
mode:
authoronefang2020-09-09 01:11:24 +1000
committeronefang2020-09-09 01:11:24 +1000
commit76a38dbc31c98bd8f40b219a28f22d36493c95d9 (patch)
tree43f0d68fe2e46286da74f986680e1e05c2514422 /OpenSim/Framework/VersionInfo.cs
parentAdd a missing .keep. (diff)
downloadopensim-SC-76a38dbc31c98bd8f40b219a28f22d36493c95d9.zip
opensim-SC-76a38dbc31c98bd8f40b219a28f22d36493c95d9.tar.gz
opensim-SC-76a38dbc31c98bd8f40b219a28f22d36493c95d9.tar.bz2
opensim-SC-76a38dbc31c98bd8f40b219a28f22d36493c95d9.tar.xz
Update version number stuff, and hack it into the money display.
Diffstat (limited to 'OpenSim/Framework/VersionInfo.cs')
-rw-r--r--OpenSim/Framework/VersionInfo.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Framework/VersionInfo.cs b/OpenSim/Framework/VersionInfo.cs
index 7e78d24..3ae5145 100644
--- a/OpenSim/Framework/VersionInfo.cs
+++ b/OpenSim/Framework/VersionInfo.cs
@@ -31,6 +31,7 @@ namespace OpenSim
31 { 31 {
32 public const string VersionNumber = "0.9.1.1"; 32 public const string VersionNumber = "0.9.1.1";
33 public const string AssemblyVersionNumber = "0.9.1.1"; 33 public const string AssemblyVersionNumber = "0.9.1.1";
34 public const string SC_BUILD_NUMBER = "0";
34 35
35 public const Flavour VERSION_FLAVOUR = Flavour.Release; 36 public const Flavour VERSION_FLAVOUR = Flavour.Release;
36 37
@@ -38,6 +39,7 @@ namespace OpenSim
38 { 39 {
39 Unknown, 40 Unknown,
40 Dev, 41 Dev,
42 RC0,
41 RC1, 43 RC1,
42 RC2, 44 RC2,
43 RC3, 45 RC3,
@@ -48,16 +50,16 @@ namespace OpenSim
48 50
49 public static string Version 51 public static string Version
50 { 52 {
51 get { return GetVersionString(VersionNumber, VERSION_FLAVOUR); } 53 get { return GetVersionString(VersionNumber, SC_BUILD_NUMBER, VERSION_FLAVOUR); }
52 } 54 }
53 55
54 public static string GetVersionString(string versionNumber, Flavour flavour) 56 public static string GetVersionString(string versionNumber, string buildNumber, Flavour flavour)
55 { 57 {
56 string versionString = "OpenSim " + versionNumber + " Snail " + flavour; 58 string versionString = "opensim-SC " + versionNumber + " " + flavour + " build " + buildNumber;
57 return versionString.PadRight(VERSIONINFO_VERSION_LENGTH); 59 return versionString.PadRight(VERSIONINFO_VERSION_LENGTH);
58 } 60 }
59 61
60 public const int VERSIONINFO_VERSION_LENGTH = 29; 62 public const int VERSIONINFO_VERSION_LENGTH = 39;
61 63
62 /// <value> 64 /// <value>
63 /// This is the external interface version. It is separate from the OpenSimulator project version. 65 /// This is the external interface version. It is separate from the OpenSimulator project version.