diff options
Diffstat (limited to 'release')
| -rwxr-xr-x | release/sign-launcher.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/release/sign-launcher.py b/release/sign-launcher.py index e19a6fcaa..274b06fb7 100755 --- a/release/sign-launcher.py +++ b/release/sign-launcher.py | |||
| @@ -85,18 +85,18 @@ Repo launcher bucket: | |||
| 85 | gs://git-repo-downloads/ | 85 | gs://git-repo-downloads/ |
| 86 | 86 | ||
| 87 | You should first upload it with a specific version: | 87 | You should first upload it with a specific version: |
| 88 | gsutil cp -a public-read {opts.launcher} gs://git-repo-downloads/repo-{version} | 88 | gcloud storage cp --predefined-acl=publicRead {opts.launcher} gs://git-repo-downloads/repo-{version} |
| 89 | gsutil cp -a public-read {opts.launcher}.asc gs://git-repo-downloads/repo-{version}.asc | 89 | gcloud storage cp --predefined-acl=publicRead {opts.launcher}.asc gs://git-repo-downloads/repo-{version}.asc |
| 90 | 90 | ||
| 91 | Then to make it the public default: | 91 | Then to make it the public default: |
| 92 | gsutil cp -a public-read gs://git-repo-downloads/repo-{version} gs://git-repo-downloads/repo | 92 | gcloud storage cp --predefined-acl=publicRead gs://git-repo-downloads/repo-{version} gs://git-repo-downloads/repo |
| 93 | gsutil cp -a public-read gs://git-repo-downloads/repo-{version}.asc gs://git-repo-downloads/repo.asc | 93 | gcloud storage cp --predefined-acl=publicRead gs://git-repo-downloads/repo-{version}.asc gs://git-repo-downloads/repo.asc |
| 94 | 94 | ||
| 95 | NB: If a rollback is necessary, the GS bucket archives old versions, and may be | 95 | NB: If a rollback is necessary, the GS bucket archives old versions, and may be |
| 96 | accessed by specifying their unique id number. | 96 | accessed by specifying their unique id number. |
| 97 | gsutil ls -la gs://git-repo-downloads/repo gs://git-repo-downloads/repo.asc | 97 | gcloud storage ls --long --all-versions gs://git-repo-downloads/repo gs://git-repo-downloads/repo.asc |
| 98 | gsutil cp -a public-read gs://git-repo-downloads/repo#<unique id> gs://git-repo-downloads/repo | 98 | gcloud storage cp --predefined-acl=publicRead gs://git-repo-downloads/repo#<unique id> gs://git-repo-downloads/repo |
| 99 | gsutil cp -a public-read gs://git-repo-downloads/repo.asc#<unique id> gs://git-repo-downloads/repo.asc | 99 | gcloud storage cp --predefined-acl=publicRead gs://git-repo-downloads/repo.asc#<unique id> gs://git-repo-downloads/repo.asc |
| 100 | """ # noqa: E501 | 100 | """ # noqa: E501 |
| 101 | ) | 101 | ) |
| 102 | 102 | ||
