fix gh cli install permissions and cleanup release pipeline (#2616)
Summary:
This change fixes permission and syntax errors in the release pipeline
that were blocking the installation of the GitHub CLI.
Key Changes:
* Resolved Permissions: Added sudo to administrative commands (apt,
mkdir, tee) in pipelines/bazel-release.yml to fix "Permission denied"
errors when creating /etc/apt/keyrings.
* Corrected Escaping: Properly escaped shell variables (\$(...)) to
ensure they execute inside the Docker container rather than being
interpolated by Buildkite.
* Pipeline Cleanup:
* Removed the sed command that was dynamically modifying
scripts/ci/build.sh, favoring a cleaner approach.
* Syntax Fix: Corrected a line-break issue in the GitHub CLI repository
configuration command.
followup to
https://github.com/bazelbuild/continuous-integration/pull/2602/changes
1 file changed