Skip to content

Commit 6375d5f

Browse files
dmitriplotnikovcopybara-github
authored andcommitted
Fix git SSL certificate verification in release_linux.sh.
PiperOrigin-RevId: 938044930
1 parent b8e324c commit 6375d5f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

release/kokoro/release_linux.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ set -e
1717

1818
if ! command -v pip3 &> /dev/null || ! command -v curl &> /dev/null || ! command -v docker &> /dev/null || ! command -v git &> /dev/null; then
1919
echo "Installing basic dependencies..."
20-
apt-get update && apt-get install -y python3-pip curl git
20+
apt-get update && apt-get install -y python3-pip curl git ca-certificates
21+
git config --global http.sslCAinfo /etc/ssl/certs/ca-certificates.crt
2122

2223
if ! command -v docker &> /dev/null; then
2324
echo "Installing docker CLI..."

0 commit comments

Comments
 (0)