Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed May 15, 2024
1 parent fa76ce8 commit cdc1b73
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ void RemoveDirectory(string d)
VERSION,
async () =>
{
var (output, _) = await ReadAsync("dotnet", "minver -v w").ConfigureAwait(false);
Console.WriteLine($"Version: {output}");
Environment.SetEnvironmentVariable("VERSION", output);
var (output, _) = await ReadAsync("dotnet", "minver -v w").ConfigureAwait(false);
Console.WriteLine($"Version: {output}");
Environment.SetEnvironmentVariable("VERSION", output);
}
);
Target(
Expand Down Expand Up @@ -84,7 +84,10 @@ void RemoveDirectory(string d)
{
var version = Environment.GetEnvironmentVariable("VERSION");
Console.WriteLine($"Version: {version}");
Run("msbuild", $"{s} /p:Configuration=Release /p:IsDesktopBuild=false /p:NuGetRestorePackages=false /p:Version='{version}' -v:m");
Run(
"msbuild",
$"{s} /p:Configuration=Release /p:IsDesktopBuild=false /p:NuGetRestorePackages=false /p:Version='{version}' -v:m"
);
}
);

Expand Down

0 comments on commit cdc1b73

Please sign in to comment.