Skip to content

Commit d1afcc7

Browse files
committed
Add quotes to address spaces in artifacts path
1 parent 04fa7ad commit d1afcc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.fsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pipeline "CI" {
7777
run $"dotnet build {solutionFile} --configuration {configuration}"
7878
}
7979

80-
stage "NuGet" { run $"dotnet pack {solutionFile} --output {artifactsDir} --configuration {configuration}" }
80+
stage "NuGet" { run $"dotnet pack {solutionFile} --output \"{artifactsDir}\" --configuration {configuration}" }
8181

8282
stage "Tests" {
8383
run
@@ -91,10 +91,10 @@ pipeline "CI" {
9191
// Τhe tool has been uninstalled when the
9292
// artifacts folder was removed in the Clean stage.
9393
run
94-
$"dotnet tool install --no-cache --version %s{release.NugetVersion} --add-source %s{artifactsDir} --tool-path %s{artifactsDir} fsdocs-tool"
94+
$"dotnet tool install --no-cache --version %s{release.NugetVersion} --add-source \"%s{artifactsDir}\" --tool-path \"%s{artifactsDir}\" fsdocs-tool"
9595

96-
run $"{fsdocTool} build --strict --clean --properties Configuration=Release"
97-
run $"dotnet tool uninstall fsdocs-tool --tool-path %s{artifactsDir}"
96+
run $"\"{fsdocTool}\" build --strict --clean --properties Configuration=Release"
97+
run $"dotnet tool uninstall fsdocs-tool --tool-path \"%s{artifactsDir}\""
9898
run (fun _ -> Shell.cleanDir ".packages")
9999
}
100100

0 commit comments

Comments
 (0)