Skip to content

Commit

Permalink
Fix gsutil parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
rail committed Jan 9, 2024
1 parent 1e49a7f commit 03252fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ gcloud auth activate-service-account --key-file=.google-credentials.json

# Push the new chart file and updated index.yaml file to GCS.
# We rely on the gcloud CLI version installed system-wide.
gsutil rsync "build/artifacts/" "gs://${gcs_bucket}/" -x old-index.yaml
gsutil rsync -x old-index.yaml "build/artifacts/" "gs://${gcs_bucket}/"

# Invalidate any cached version of index.yaml (so this version is immediately available)
gcloud compute url-maps invalidate-cdn-cache $lb_name --path "/index.yaml"

0 comments on commit 03252fe

Please sign in to comment.