Permalink
Browse files

Reported build version will now respect the semver change

  • Loading branch information...
ayende committed Oct 11, 2011
1 parent a6ee72b commit c0410bd563e4c6a4e6d96b31b9aad54ac6761b83
Showing with 2 additions and 2 deletions.
  1. +2 −2 Raven.Database/DocumentDatabase.cs
  2. BIN Raven.Database/Properties/AssemblyInfo.cs
@@ -1202,7 +1202,7 @@ public static string BuildVersion
get
{
if (buildVersion == null)
- buildVersion = FileVersionInfo.GetVersionInfo(typeof(DocumentDatabase).Assembly.Location).FilePrivatePart.ToString();
+ buildVersion = FileVersionInfo.GetVersionInfo(typeof(DocumentDatabase).Assembly.Location).FileBuildPart.ToString();
return buildVersion;
}
}
@@ -1215,7 +1215,7 @@ public static string ProductVersion
get
{
if (productVersion == null)
- productVersion = FileVersionInfo.GetVersionInfo(typeof(DocumentDatabase).Assembly.Location).ProductVersion.ToString();
+ productVersion = FileVersionInfo.GetVersionInfo(typeof(DocumentDatabase).Assembly.Location).ProductVersion;
return productVersion;
}
}
Binary file not shown.

0 comments on commit c0410bd

Please sign in to comment.