Missing parenthesis on github ci test

This commit is contained in:
Caelan Sayler
2024-01-08 13:20:57 +00:00
parent b5c37ae78c
commit a4ca6d01e7

View File

@@ -26,7 +26,7 @@ namespace Velopack.Packaging.Tests
var id = "GithubUpdateTest";
var ci = !String.IsNullOrEmpty(Environment.GetEnvironmentVariable("CI"));
using var _1 = Utility.GetTempDirectory(out var releaseDir);
var uniqueSuffix = ci ? "ci-" : "local-" + VelopackRuntimeInfo.SystemOs.GetOsShortName();
var uniqueSuffix = (ci ? "ci-" : "local-") + VelopackRuntimeInfo.SystemOs.GetOsShortName();
var releaseName = $"{VelopackRuntimeInfo.VelopackDisplayVersion}-{uniqueSuffix}";
// delete release if already exists