Skip to content

Commit 3f82891

Browse files
committed
Package informational version shouldn't include the comment part
1 parent 10fc133 commit 3f82891

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Limbo.Umbraco.TextBox/TextBoxPackage.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ public static class TextBoxPackage {
2727
/// <summary>
2828
/// Gets the informational version of the package.
2929
/// </summary>
30-
public static readonly string InformationalVersion = FileVersionInfo.GetVersionInfo(typeof(TextBoxPackage).Assembly.Location).ProductVersion!;
30+
public static readonly string InformationalVersion = FileVersionInfo
31+
.GetVersionInfo(typeof(TextBoxPackage).Assembly.Location)
32+
.ProductVersion!
33+
.Split('+')[0];
3134

3235
/// <summary>
3336
/// Gets the semantic version of the package.

0 commit comments

Comments
 (0)