|
|
@ -5,7 +5,7 @@ set -euo pipefail
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
|
|
|
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
|
|
|
|
|
|
|
|
|
|
|
VERSION=${VERSION:-2.10.3}
|
|
|
|
VERSION=${VERSION:-2.11.3}
|
|
|
|
DEST="${XDG_DATA_HOME}/apps/releases/protoc-grpc-gateway"
|
|
|
|
DEST="${XDG_DATA_HOME}/apps/releases/protoc-grpc-gateway"
|
|
|
|
BASE_URL=https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v${VERSION}
|
|
|
|
BASE_URL=https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v${VERSION}
|
|
|
|
GRPC_GATEWAY_URL=${BASE_URL}/protoc-gen-grpc-gateway-v${VERSION}-$(get_os)-$(uname -m)
|
|
|
|
GRPC_GATEWAY_URL=${BASE_URL}/protoc-gen-grpc-gateway-v${VERSION}-$(get_os)-$(uname -m)
|
|
|
|