Skip to content

Commit 655b659

Browse files
committed
Ensure a build suffix is added to incoming version
This is just a sanity thing to match expectations of the client.
1 parent 8ab7946 commit 655b659

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Program.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ public static void Main(string[] args)
9999
if (args.Length > 2 && !string.IsNullOrEmpty(args[2]))
100100
Enum.TryParse(args[2], true, out targetPlatform);
101101

102+
// ensure version has a suffix
103+
if (version.Split('-').Length == 1)
104+
version = $"{version}-lazer";
105+
102106
Console.ResetColor();
103107
Console.WriteLine($"Increment Version: {IncrementVersion}");
104108
Console.WriteLine($"Signing Certificate: {WindowsCodeSigningMetadataPath}");

0 commit comments

Comments
 (0)