Skip to content

Commit

Permalink
Update scripts/regenerate.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Arvind Bright <[email protected]>
  • Loading branch information
aranjans and arvindbr8 committed Apr 10, 2024
1 parent 13bd2f2 commit f600613
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion scripts/regenerate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ git clone --quiet https://github.com/protocolbuffers/protobuf "${WORKDIR}/protob
# Pull in code.proto as a proto dependency
mkdir -p "${WORKDIR}/googleapis/google/rpc"
echo "curl https://raw.githubusercontent.com/googleapis/googleapis/master/google/rpc/code.proto"
curl --silent https://raw.githubusercontent.com/googleapis/googleapis/master/google/rpc/code.proto > "${WORKDIR}"/googleapis/google/rpc/code.proto
curl --silent https://raw.githubusercontent.com/googleapis/googleapis/master/google/rpc/code.proto > "${WORKDIR}/googleapis/google/rpc/code.proto"

source ./scripts/protoc_installer.sh
download_protoc
Expand Down
12 changes: 0 additions & 12 deletions scripts/vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,9 @@ if [[ "$1" = "-install" ]]; then
github.com/client9/misspell/cmd/misspell
popd
if [[ -z "${VET_SKIP_PROTO}" ]]; then
<<<<<<< HEAD
source ./scripts/protoc_installer.sh
download_protoc
protoc --version
=======
if [[ "${GITHUB_ACTIONS}" = "true" ]]; then
source ./scripts/protoc_installer.sh
pushd /home/runner/go
download_protoc
bin/protoc --version
popd
elif not which protoc > /dev/null; then
die "Please install protoc into your path"
fi
>>>>>>> beb91247 (Migrate all the shell scripts to scripts directory)
fi
exit 0
elif [[ "$#" -ne 0 ]]; then
Expand Down

0 comments on commit f600613

Please sign in to comment.