From 27a5621d3bfef1daeb2c95d51ceeed2c2c9b77aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pedro?= Date: Fri, 6 Sep 2024 00:08:28 +0100 Subject: [PATCH] NUKE fixes. --- build/_build/Build.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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]}" );