From b5dc9248d8b3534b2aceda925f903b2182e9c955 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Thu, 12 Sep 2019 20:51:25 -0300 Subject: [PATCH] fix bad merge --- build/Utilities/BuildVersion.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/Utilities/BuildVersion.cs b/build/Utilities/BuildVersion.cs index 9e79732193..0d30d88d73 100644 --- a/build/Utilities/BuildVersion.cs +++ b/build/Utilities/BuildVersion.cs @@ -44,7 +44,8 @@ public static BuildVersion Calculate(Context context) var version = assertedversions.MajorMinorPatch; var semVersion = assertedversions.LegacySemVerPadded; - + var fullSemVer = assertedversions.FullSemVer; + if (string.IsNullOrWhiteSpace(version)) { throw new CakeException("Could not calculate version of build.");