diff --git a/build/_build/Build.cs b/build/_build/Build.cs index 4e95b7a..67bb447 100644 --- a/build/_build/Build.cs +++ b/build/_build/Build.cs @@ -95,10 +95,14 @@ TagName is not null private string PackageVersionSuffix => IsLocalBuild - ? "-local" + ? String.Empty : ( TagVersion is not null - ? $"-{TagVersion.Release}" + ? ( + String.IsNullOrEmpty(TagVersion.Release) + ? String.Empty + : $"-{TagVersion.Release}" + ) : $"-build2.{BuildNumber}+{GitHubActions.Sha[0..7]}" );