Skip to content
Snippets Groups Projects
Commit fe0c4a84 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

C# assembly version and current version

parent 6819ee73
No related branches found
No related tags found
No related merge requests found
...@@ -34,4 +34,4 @@ ...@@ -34,4 +34,4 @@
using System.Reflection; using System.Reflection;
// The current version of gRPC C#. // 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 ...@@ -38,9 +38,14 @@ namespace Grpc.Core
/// </summary> /// </summary>
public static class VersionInfo public static class VersionInfo
{ {
/// <summary>
/// Current version of gRPC C# assemblies
/// </summary>
public const string CurrentAssemblyVersion = "0.13.0.0";
/// <summary> /// <summary>
/// Current version of gRPC C# /// Current version of gRPC C#
/// </summary> /// </summary>
public const string CurrentVersion = "0.13.0"; public const string CurrentVersion = "0.13.0-pre1";
} }
} }
...@@ -40,9 +40,14 @@ ...@@ -40,9 +40,14 @@
/// </summary> /// </summary>
public static class VersionInfo 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> /// <summary>
/// Current version of gRPC C# /// Current version of gRPC C#
/// </summary> /// </summary>
public const string CurrentVersion = "${settings.version.major}.${settings.version.minor}.${settings.version.patch}"; public const string CurrentVersion = "${settings.csharp_version}";
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment