@ -5,7 +5,7 @@ set -euo pipefail
# shellcheck disable=SC1090
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
VERSION=${VERSION:-2.15.2}
VERSION=${VERSION:-2.16.0}
DEST="${XDG_DATA_HOME}/apps/releases/protoc-grpc-gateway"
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)
@ -6,7 +6,7 @@ set -e
APP=go
VERSION=${VERSION:-1.20.4}
VERSION=${VERSION:-1.20.5}
DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz
@ -5,7 +5,7 @@ set -e
DEST=/usr/local/apps/golang
DEST_BIN=$DEST/current/bin
APP=golangci-lint
VERSION=${VERSION:-1.52.2}
VERSION=${VERSION:-1.53.3}
URL=https://github.com/golangci/golangci-lint/releases/download/v${VERSION}/golangci-lint-${VERSION}-$(get_os)-$(get_arch).tar.gz
APP=protoc-gen-go
VERSION=${VERSION:-1.30.0}
VERSION=${VERSION:-1.31.0}
URL=https://github.com/protocolbuffers/protobuf-go/releases/download/v${VERSION}/protoc-gen-go.v${VERSION}.$(get_os).$(get_arch).tar.gz
# shellcheck disable=SC1091
VERSION=${VERSION:-23.2}
VERSION=${VERSION:-23.3}
APP=protoc
APPS_DIR=${XDG_DATA_HOME}/apps/releases/${APP}
VER_DIR=${APPS_DIR}/${VERSION}
PROTOC_VERSION=${VERSION:-23.2}
PROTOC_VERSION=${VERSION:-23.3}
PROTOC_ZIP=protoc-$PROTOC_VERSION-linux-x86_64.zip
TMP_DIR=$(mktemp --directory)
DEST_FILE=$TMP_DIR/$PROTOC_ZIP