Bump versions for protobufs/gRPC

main
Buddy Sandidge 2 years ago
parent d68d1db76b
commit 8808226fc6

@ -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.15.0} VERSION=${VERSION:-2.15.2}
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)

@ -6,7 +6,7 @@ set -e
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
APP=protoc-gen-go APP=protoc-gen-go
VERSION=${VERSION:-1.28.1} VERSION=${VERSION:-1.30.0}
DEST="${XDG_DATA_HOME}/apps/releases/${APP}" DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
URL=https://github.com/protocolbuffers/protobuf-go/releases/download/v${VERSION}/protoc-gen-go.v${VERSION}.$(get_os).$(get_arch).tar.gz URL=https://github.com/protocolbuffers/protobuf-go/releases/download/v${VERSION}/protoc-gen-go.v${VERSION}.$(get_os).$(get_arch).tar.gz

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERSION=${VERSION:-v1.2.0} VERSION=${VERSION:-v1.3.0}
go install "google.golang.org/grpc/cmd/protoc-gen-go-grpc@${VERSION}" go install "google.golang.org/grpc/cmd/protoc-gen-go-grpc@${VERSION}"

@ -17,7 +17,7 @@ get_arch () (
uname -m uname -m
) )
VERSION=${VERSION:-21.12} VERSION=${VERSION:-22.3}
APP=protoc APP=protoc
APPS_DIR=${XDG_DATA_HOME}/apps/releases/${APP} APPS_DIR=${XDG_DATA_HOME}/apps/releases/${APP}
VER_DIR=${APPS_DIR}/${VERSION} VER_DIR=${APPS_DIR}/${VERSION}

@ -6,7 +6,7 @@ set -e
# shellcheck disable=SC1090 # shellcheck disable=SC1090
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
PROTOC_VERSION=${PROTOC_VERSION:-3.15.6} PROTOC_VERSION=${VERSION:-20.3}
PROTOC_ZIP=protoc-$PROTOC_VERSION-linux-x86_64.zip PROTOC_ZIP=protoc-$PROTOC_VERSION-linux-x86_64.zip
TMP_DIR=$(mktemp --directory) TMP_DIR=$(mktemp --directory)
DEST_FILE=$TMP_DIR/$PROTOC_ZIP DEST_FILE=$TMP_DIR/$PROTOC_ZIP

Loading…
Cancel
Save