Skip to content

Commit

Permalink
Use compatible protoc version in appimage build
Browse files Browse the repository at this point in the history
  • Loading branch information
streetpea committed Dec 10, 2024
1 parent d6f0167 commit 7885391
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/fetch-protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ ROOT="`pwd`"

if [ "$(uname -m)" = "aarch64" ]
then
URL='https://github.com/protocolbuffers/protobuf/releases/download/v29.1/protoc-29.1-linux-aarch_64.zip'
export ARCH_SUFFIX="aarch_64"
else
URL='https://github.com/protocolbuffers/protobuf/releases/download/v29.1/protoc-29.1-linux-x86_64.zip'
export ARCH_SUFFIX="x86_64"
fi

URL=https://github.com/protocolbuffers/protobuf/releases/download/v3.9.1/protoc-3.9.1-linux-${ARCH_SUFFIX}.zip

curl -L "$URL" -o protoc.zip
unzip protoc.zip -d protoc

0 comments on commit 7885391

Please sign in to comment.