Compare commits

...

5 Commits
2.6.0 ... 2.4.1

Author SHA1 Message Date
975f42da8e Merge pull request #269 from shivammathur/develop
Hotfix
2020-08-08 16:53:35 +05:30
fae7892ed3 Change cURL opts 2020-08-08 15:45:40 +05:30
2a44b78bb8 Merge pull request #266 from shivammathur/develop
Hotfix
2020-08-04 22:00:38 +05:30
494d047fa5 Fix permissions in protoc setup 2020-08-04 21:37:52 +05:30
3ca32c6b64 Switch to exponential-backoff in cURL 2020-08-04 21:16:48 +05:30
3 changed files with 3 additions and 3 deletions

View File

@ -241,7 +241,7 @@ version=$1
nodot_version=${1/./}
old_versions="5.[3-5]"
tool_path_dir="/usr/local/bin"
curl_opts=(-sSL --retry 5 --retry-delay 1)
curl_opts=(-sL)
existing_version=$(php-config --version 2>/dev/null | cut -c 1-3)
read_env

View File

@ -398,7 +398,7 @@ debconf_fix="DEBIAN_FRONTEND=noninteractive"
github="https://github.com/shivammathur"
apt_install="sudo $debconf_fix apt-fast install -y"
tool_path_dir="/usr/local/bin"
curl_opts=(-sSL --retry 5 --retry-delay 1)
curl_opts=(-sL)
existing_version=$(php-config --version 2>/dev/null | cut -c 1-3)
read_env

View File

@ -19,7 +19,7 @@ add_protoc() {
[ "$(uname -s)" = "Darwin" ] && platform='osx'
curl -o /tmp/protobuf.zip "${curl_opts[@]:?}" "https://github.com/protocolbuffers/protobuf/releases/download/$protobuf_tag/protoc-${protobuf_tag:1}-$platform-x86_64.zip"
sudo unzip /tmp/protobuf.zip -d /usr/local/
sudo chmod a+x /usr/local/bin/protoc
sudo chmod 777 /usr/local/bin/protoc -R /usr/local/include/google
) >/dev/null 2>&1
add_log "${tick:?}" "protoc" "Added"
printf "::group::\033[34;1m%s \033[0m\033[90;1m%s \033[0m\n" "protoc" "Click to read the protoc related license information"