From 5b21a87ca6f0e8a95a7d2d3546e60e84e5611240 Mon Sep 17 00:00:00 2001 From: Krzysztof Szyper Date: Tue, 2 Jul 2024 09:06:15 +0200 Subject: [PATCH] Fix versioning of GCP CLI Fixes #2233 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e07d223b..03ebf3ef 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ OT_TG_VERSION := ot-$(OT_VERSION)-tg-$(TG_VERSION) TF_TG_LATEST := tf-$(TF_LATEST)-tg-$(TG_LATEST) OT_TG_LATEST := ot-$(OT_LATEST)-tg-$(TG_LATEST) AWS_LATEST := $(shell curl -LsS https://api.github.com/repos/aws/aws-cli/tags | jq -r .[].name | head -1) -GCP_LATEST := $(shell curl -LsS https://cloud.google.com/sdk/docs/install\#linux | grep -o 'google-cloud-cli-[0-9.]\+' | head -1 | sed 's/google.*cli-//') +GCP_LATEST := $(shell curl -LsS https://cloud.google.com/sdk/docs/downloads-versioned-archives | grep -o 'google-cloud-sdk-[0-9.]\+' | head -1 | sed 's/google-cloud-sdk-*//') # Other variables and constants CURRENT_BRANCH := $(shell echo $(GITHUB_REF) | sed 's/refs\/heads\///')