aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-02-08 16:39:55 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-02-08 16:39:55 -0800
commitfe0c4a84fa5204fd603c9c094f4c7ca9618305fb (patch)
tree34fb2373d1458bd7494b2e6e42d38d2cf1770ee1 /templates/src
parent6819ee73a65b3fe243934464b1ac8ee5be6606e1 (diff)
C# assembly version and current version
Diffstat (limited to 'templates/src')
-rw-r--r--templates/src/csharp/Grpc.Core/VersionInfo.cs.template7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/src/csharp/Grpc.Core/VersionInfo.cs.template b/templates/src/csharp/Grpc.Core/VersionInfo.cs.template
index 6cb6280de6..59864fa058 100644
--- a/templates/src/csharp/Grpc.Core/VersionInfo.cs.template
+++ b/templates/src/csharp/Grpc.Core/VersionInfo.cs.template
@@ -41,8 +41,13 @@
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}";
}
}