From e3c33cbff82b6bfb3f7b455863664435891503cd Mon Sep 17 00:00:00 2001 From: adams85 <31276480+adams85@users.noreply.github.com> Date: Wed, 26 Jul 2023 09:14:13 +0200 Subject: [PATCH] Remove commit hash from SDK version (#76) --- src/ConfigCatClient/ConfigCatClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ConfigCatClient/ConfigCatClient.cs b/src/ConfigCatClient/ConfigCatClient.cs index 1636901b..0b714633 100644 --- a/src/ConfigCatClient/ConfigCatClient.cs +++ b/src/ConfigCatClient/ConfigCatClient.cs @@ -18,7 +18,7 @@ namespace ConfigCat.Client; /// public sealed class ConfigCatClient : IConfigCatClient { - private static readonly string Version = typeof(ConfigCatClient).GetTypeInfo().Assembly.GetCustomAttribute()!.InformationalVersion; + private static readonly string Version = typeof(ConfigCatClient).GetTypeInfo().Assembly.GetName().Version!.ToString(fieldCount: 3); internal static readonly ConfigCatClientCache Instances = new();