File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ $ProtobufBase = $Base + "/deps/protobuf"
1919MkDir- p ($Base + " /build/bin" )
2020
2121$PackageFile = $Base + " /package.json"
22- $ToolsVersion = (Get-Content $PackageFile ) -join " `n " | ConvertFrom-Json | Get-Member - Name version
22+ $ToolsVersion = (( Get-Content $PackageFile ) -join " `n " | ConvertFrom-Json ). version
2323
2424$OutDir = $Env: ARTIFACTS_OUT + " /grpc-tools/v" + $ToolsVersion
2525Mkdir- p $OutDir
@@ -46,7 +46,7 @@ foreach ($Arch in $ArchList) {
4646 Copy-Item ($Base + " /Debug/grpc_node_plugin.exe" ) - Destination ($Base + " /build/bin/grpc_node_plugin.exe" )
4747
4848 Compress-7Zip - Path ($Base + " /build" ) - Format Tar - ArchiveFileName ($Base + " /Archive.tar" )
49- Compress-7Zip - Path ($Base + " /Archive.tar" ) - Format GZip - ArchiveFileName ($OutDir + " /windows-x64 .tar.gz" )
49+ Compress-7Zip - Path ($Base + " /Archive.tar" ) - Format GZip - ArchiveFileName ($OutDir + " /windows-" + $Arch + " .tar.gz" )
5050
5151 Remove-Item ($Base + " /build/bin/protoc.exe" )
5252 Remove-Item ($Base + " /build/bin/grpc_node_plugin.exe" )
You can’t perform that action at this time.
0 commit comments