Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Fix build to work with spaces in the path (#5065)
Browse files Browse the repository at this point in the history
Quote the output directory passed to `dotnet pack`
  • Loading branch information
loop-evgeny authored Dec 5, 2020
1 parent 613df53 commit 07898a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build/Program.Partial.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static void Main(string[] args)
{
var project = Directory.GetFiles("./src", "*.csproj", SearchOption.TopDirectoryOnly).OrderBy(_ => _).First();

Run("dotnet", $"pack {project} -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo", echoPrefix: Prefix);
Run("dotnet", $"pack {project} -c Release -o \"{Directory.CreateDirectory(packOutput).FullName}\" --no-build --nologo", echoPrefix: Prefix);
});

Target(Targets.SignPackage, DependsOn(Targets.Pack), () =>
Expand Down

0 comments on commit 07898a6

Please sign in to comment.