Skip to content

Commit 6ef5f82

Browse files
committed
fix: update gcloud storage ACL syntax in GCS release scripts
1 parent 6a851b6 commit 6ef5f82

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

jib-cli/scripts/update_gcs_latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ destination="gs://jib-versions/jib-cli"
2929

3030
echo $versionString > jib-cli-temp
3131
gcloud storage cp jib-cli-temp $destination
32-
gcloud storage objects update --add-acl-grant=allUsers=READ $destination
32+
gcloud storage objects update --add-acl-grant=entity=allUsers,role=READER $destination
3333
rm jib-cli-temp
3434

3535
gcsResult=$(curl https://storage.googleapis.com/jib-versions/jib-cli)

jib-gradle-plugin/scripts/update_gcs_latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ destination="gs://jib-versions/jib-gradle"
2929

3030
echo $versionString > jib-gradle
3131
gcloud storage cp jib-gradle $destination
32-
gcloud storage objects update --add-acl-grant=allUsers:READ $destination
32+
gcloud storage objects update --add-acl-grant=entity=allUsers,role=READER $destination
3333
rm jib-gradle
3434

3535
gcsResult=$(curl https://storage.googleapis.com/jib-versions/jib-gradle)

jib-maven-plugin/scripts/update_gcs_latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ destination="gs://jib-versions/jib-maven"
2929

3030
echo $versionString > jib-maven
3131
gcloud storage cp jib-maven $destination
32-
gcloud storage objects update --add-acl-grant=allUsers:READ $destination
32+
gcloud storage objects update --add-acl-grant=entity=allUsers,role=READER $destination
3333
rm jib-maven
3434

3535
gcsResult=$(curl https://storage.googleapis.com/jib-versions/jib-maven)

0 commit comments

Comments
 (0)