mirror of https://github.com/grpc/grpc-node.git
Fix use of
This commit is contained in:
parent
a59934ffa6
commit
a1807ce67a
|
@ -39,13 +39,10 @@ $ProtobufBase = $Base + "/deps/protobuf"
|
||||||
MkDir-p ($Base + "/build/bin")
|
MkDir-p ($Base + "/build/bin")
|
||||||
|
|
||||||
$PackageFile = $Base + "/package.json"
|
$PackageFile = $Base + "/package.json"
|
||||||
Write-Host $PackageFile
|
|
||||||
Write-Host (Get-Content $PackageFile) -join "`n"
|
|
||||||
$ToolsVersion = ((Get-Content $PackageFile) -join "`n" | ConvertFrom-Json).version
|
$ToolsVersion = ((Get-Content $PackageFile) -join "`n" | ConvertFrom-Json).version
|
||||||
Write-Host $ToolsVersion
|
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
$OutDir = $pwd + "/artifacts/grpc-tools/v" + $ToolsVersion
|
$OutDir = $pwd.Path + "/artifacts/grpc-tools/v" + $ToolsVersion
|
||||||
Mkdir-p $OutDir
|
Mkdir-p $OutDir
|
||||||
|
|
||||||
cd $Base
|
cd $Base
|
||||||
|
|
Loading…
Reference in New Issue