Fix use of

This commit is contained in:
Michael Lumish 2020-05-14 13:37:07 -07:00
parent a59934ffa6
commit a1807ce67a
1 changed files with 1 additions and 4 deletions

View File

@ -39,13 +39,10 @@ $ProtobufBase = $Base + "/deps/protobuf"
MkDir-p ($Base + "/build/bin")
$PackageFile = $Base + "/package.json"
Write-Host $PackageFile
Write-Host (Get-Content $PackageFile) -join "`n"
$ToolsVersion = ((Get-Content $PackageFile) -join "`n" | ConvertFrom-Json).version
Write-Host $ToolsVersion
cd ../..
$OutDir = $pwd + "/artifacts/grpc-tools/v" + $ToolsVersion
$OutDir = $pwd.Path + "/artifacts/grpc-tools/v" + $ToolsVersion
Mkdir-p $OutDir
cd $Base