From 36a27b02628c5254ef1107bbf8f7ac759e214b46 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 25 Aug 2025 14:38:41 +0530 Subject: [PATCH] Move to main branch for protoc --- src/scripts/tools/protoc.ps1 | 2 +- src/scripts/tools/protoc.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/tools/protoc.ps1 b/src/scripts/tools/protoc.ps1 index ea5e6172..a2166954 100644 --- a/src/scripts/tools/protoc.ps1 +++ b/src/scripts/tools/protoc.ps1 @@ -35,6 +35,6 @@ Function Add-Protoc() { Add-ToProfile $current_profile 'protoc' "New-Alias protoc $bin_dir\protoc.exe" Add-Log $tick "protoc" "Added protoc $($protobuf_tag -replace 'v', '')" printf "$env:GROUP\033[34;1m%s \033[0m\033[90;1m%s \033[0m\n" "protoc" "Click to read the protoc related license information" - Write-Output (Invoke-WebRequest https://raw.githubusercontent.com/protocolbuffers/protobuf/master/LICENSE).Content + Write-Output (Invoke-WebRequest https://raw.githubusercontent.com/protocolbuffers/protobuf/main/LICENSE).Content Write-Output "$env:END_GROUP" } diff --git a/src/scripts/tools/protoc.sh b/src/scripts/tools/protoc.sh index 4622f2cc..92d7ca54 100644 --- a/src/scripts/tools/protoc.sh +++ b/src/scripts/tools/protoc.sh @@ -25,6 +25,6 @@ add_protoc() { ) >/dev/null 2>&1 add_log "${tick:?}" "protoc" "Added protoc ${protobuf_tag:1}" printf "$GROUP\033[34;1m%s \033[0m\033[90;1m%s \033[0m\n" "protoc" "Click to read the protoc related license information" - curl "${curl_opts[@]:?}" https://raw.githubusercontent.com/protocolbuffers/protobuf/master/LICENSE + curl "${curl_opts[@]:?}" https://raw.githubusercontent.com/protocolbuffers/protobuf/main/LICENSE echo "$END_GROUP" }