Skip to content

Commit

Permalink
Fix broken nightly build and publish due to MacOS x86 protoc deprecation
Browse files Browse the repository at this point in the history
The grpc_publish_packages.sh build has been broken since 2020-12-03 due
to commit 010d9f3, after which protoc artifacts for MacOS x86 were no
longer being built. See grpc#24870. The internal errors for
`grpc/core/nightly/grpc_publish_packages` are failing on `chmod +x
<nothing>`.

As pointed out in grpc#25210, https://packages.grpc.io/ has not been updated
since 2020-12-02.
  • Loading branch information
drfloob committed Jan 20, 2021
1 parent b941a77 commit 289eaab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/internal_ci/linux/grpc_publish_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ for zip_dir in protoc_windows_{x86,x64}
do
zip -jr "$PROTOC_PLUGINS_ZIPPED_PACKAGES/grpc-$zip_dir-$GRPC_VERSION.zip" "$INPUT_ARTIFACTS/$zip_dir/"*
done
for tar_dir in protoc_{linux,macos}_{x86,x64}
for tar_dir in protoc_linux_x86 protoc_linux_x64 protoc_macos_x64
do
chmod +x "$INPUT_ARTIFACTS/$tar_dir"/*
tar -cvzf "$PROTOC_PLUGINS_ZIPPED_PACKAGES/grpc-$tar_dir-$GRPC_VERSION.tar.gz" -C "$INPUT_ARTIFACTS/$tar_dir" .
Expand Down

0 comments on commit 289eaab

Please sign in to comment.