Skip to content

Commit b0e4784

Browse files
chore: Migrate gsutil usage to gcloud storage (#2247)
Co-authored-by: kgala2 <galakp@google.com>
1 parent 1f5d610 commit b0e4784

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.release/generate_sha.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ for t in "${types[@]}"; do
1919
echo "### $t" >> release_table.md
2020
echo "| filename | sha256 hash |" >> release_table.md
2121
echo "|----------|-------------|" >> release_table.md
22-
for f in $(gsutil ls "gs://$BUCKET_NAME/v$VERSION/*$t*"); do
22+
for f in $(gcloud storage ls "gs://$BUCKET_NAME/v$VERSION/*$t*"); do
2323
file=$(basename "$f")
24-
sha=$(gsutil cat "$f" | sha256sum --binary | head -c 64)
24+
sha=$(gcloud storage cat "$f" | sha256sum --binary | head -c 64)
2525
echo "| [$file](https://storage.googleapis.com/$BUCKET_NAME/v$VERSION/$file) | $sha |" >> release_table.md
2626
done
2727
echo -e "\n\n" >> release_table.md

0 commit comments

Comments
 (0)