C# assembly version and current version

pull/5146/head
Jan Tattermusch 9 years ago
parent 6819ee73a6
commit fe0c4a84fa
  1. 2
      src/csharp/Grpc.Core/Version.cs
  2. 7
      src/csharp/Grpc.Core/VersionInfo.cs
  3. 7
      templates/src/csharp/Grpc.Core/VersionInfo.cs.template

@ -34,4 +34,4 @@
using System.Reflection;
// The current version of gRPC C#.
[assembly: AssemblyVersion(Grpc.Core.VersionInfo.CurrentVersion + ".0")]
[assembly: AssemblyVersion(Grpc.Core.VersionInfo.CurrentAssemblyVersion)]

@ -38,9 +38,14 @@ namespace Grpc.Core
/// </summary>
public static class VersionInfo
{
/// <summary>
/// Current version of gRPC C# assemblies
/// </summary>
public const string CurrentAssemblyVersion = "0.13.0.0";
/// <summary>
/// Current version of gRPC C#
/// </summary>
public const string CurrentVersion = "0.13.0";
public const string CurrentVersion = "0.13.0-pre1";
}
}

@ -40,9 +40,14 @@
/// </summary>
public static class VersionInfo
{
/// <summary>
/// Current version of gRPC C# assemblies
/// </summary>
public const string CurrentAssemblyVersion = "${settings.version.major}.${settings.version.minor}.${settings.version.patch}.0";
/// <summary>
/// Current version of gRPC C#
/// </summary>
public const string CurrentVersion = "${settings.version.major}.${settings.version.minor}.${settings.version.patch}";
public const string CurrentVersion = "${settings.csharp_version}";
}
}

Loading…
Cancel
Save