@@ -21,8 +21,7 @@ perform a cert-manager release:
2121 ``` sh
2222 (cd && GO111MODULE=on go get github.com/cert-manager/release/cmd/cmrel@latest)
2323 ```
24- 3 . Make sure you are granted these roles on the GCP project
25- [ cert-manager-release] ( https://console.cloud.google.com/?project=cert-manager-release ) :
24+ 3 . Make sure you are granted these roles on the GCP project [ cert-manager-release] ( https://console.cloud.google.com/?project=cert-manager-release ) :
2625
2726 - "Cloud Build Editor" (` roles/cloudbuild.builds.builder ` ),
2827 - "Storage Object Viewer" (` roles/storage.objectViewer ` ), and
@@ -33,8 +32,20 @@ perform a cert-manager release:
3332 page.
34334 . You must have time to complete all the steps in the release process (~ 1 hour).
35345 . Install the [ ` gcloud ` ] ( https://cloud.google.com/sdk/ ) CLI.
36- 6 . Run [ ` gcloud auth login ` ] ( https://cloud.google.com/sdk/docs/authorizing#running_gcloud_auth_login ) .
37- 7 . Get a GitHub access token [ here] ( https://github.com/settings/tokens )
35+ 6 . [ Login] ( https://cloud.google.com/sdk/docs/authorizing#running_gcloud_auth_login )
36+ to ` gcloud ` :
37+
38+ ``` sh
39+ gcloud auth application-default login
40+ ```
41+
42+ 7 . Make sure ` gcloud ` points to the cert-manager-release project:
43+
44+ ``` sh
45+ gcloud config set project cert-manager-release
46+ ```
47+
48+ 8 . Get a GitHub access token [ here] ( https://github.com/settings/tokens )
3849 with the ` public_repo ` scope. It is used only by the ` release-notes ` CLI
3950 to avoid API rate limiting.
4051
@@ -83,13 +94,15 @@ The process for cutting a minor release is as follows:
8394
84953 . Push it to the ` jetstack/cert-manager ` repository
8596
97+ > Note: make sure that the ` origin ` remote points to the upstream < https://github.com/jetstack/cert-manager.git > with ` git remote -v ` .
98+
99+ > Note 2: uou need to be an "admin" of the GitHub project to be able to
100+ > push to the release branch.
101+
86102 ``` bash
87103 git push --set-upstream origin
88104 ```
89105
90- > ⚠️ You need to be an "admin" of the GitHub project to be able to push
91- > to the release branch.
92-
931064 . [ Generate and edit the release notes] ( #generating-and-editing-the-release-notes )
94107
951085 . Run ` cmrel stage `
0 commit comments