diff --git a/.agent/skills/update-pubsub-emulator/SKILL.md b/.agent/skills/update-pubsub-emulator/SKILL.md index 0a620a4b466..59e246d1325 100644 --- a/.agent/skills/update-pubsub-emulator/SKILL.md +++ b/.agent/skills/update-pubsub-emulator/SKILL.md @@ -24,9 +24,9 @@ description: How to update the Pub/Sub emulator 4. **Upload to Storage** Upload the zip file to the Firebase preview bucket: ```bash - gsutil cp pubsub-emulator-.zip gs://firebase-preview-drop/emulator/ + gcloud storage cp pubsub-emulator-.zip gs://firebase-preview-drop/emulator/ ``` - Make the file publicly readable if necessary (usually the bucket permissions handle this, or use `gsutil acl ch -u AllUsers:R ...`). + Make the file publicly readable if necessary (usually the bucket permissions handle this, or use `gcloud storage objects update ... --add-acl-grant=entity=allUsers,role=READER`). **Note:** For the version 0.8.27 update, this step was already done. diff --git a/standalone/package.json b/standalone/package.json index 4dd659d2a0f..491481b49a1 100644 --- a/standalone/package.json +++ b/standalone/package.json @@ -6,7 +6,7 @@ "scripts": { "fmt": "prettier --write *.js", "pkg": "pkg -c package.json firepit.js --out-path dist/ && shx chmod +x dist/firepit-*", - "ship": "gsutil -m cp dist/* gs://fir-tools-builds/firepit/ && gsutil iam ch allUsers:objectViewer gs://fir-tools-builds" + "ship": "gcloud storage cp dist/* gs://fir-tools-builds/firepit/ && gcloud storage buckets add-iam-policy-binding gs://fir-tools-builds --member=allUsers --role=objectViewer" }, "author": "", "license": "MIT",