Skip to content

Commit

Permalink
Fix versioning of GCP CLI
Browse files Browse the repository at this point in the history
Fixes #2233
  • Loading branch information
ChristophShyper committed Jul 2, 2024
1 parent 277c1a5 commit 5b21a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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\///')
Expand Down

0 comments on commit 5b21a87

Please sign in to comment.