@@ -50,7 +50,7 @@ git checkout -b v1.3.x
50
50
git push -u upstream v1.3.x
51
51
` ` `
52
52
53
- # ## 2 . Create and push a release commit
53
+ # ## 1 . Create and push a release commit
54
54
55
55
Create a new branch to push the release commit:
56
56
@@ -81,23 +81,23 @@ git commit -m "Release v1.3.0"
81
81
git push -u origin release-v1.3.0
82
82
` ` `
83
83
84
- # ## 3 . Create and merge a new PR
84
+ # ## 2 . Create and merge a new PR
85
85
86
86
Create and merge a new PR for the above commit.
87
87
88
- # ## 4 . Lock down branch `master`
88
+ # ## 3 . Lock down branch `master`
89
89
90
90
Lock down the ` master` branch to prevent further commits before the release completes.
91
91
See [this section](# locking-down-branches) for steps to do so.
92
92
93
- # ## 5 . Create and push a release tag
93
+ # ## 4 . Create and push a release tag
94
94
95
95
` ` ` sh
96
96
make tag RELEASE_VERSION=v1.3.0
97
97
git push upstream v1.3.0
98
98
` ` `
99
99
100
- # ## 6 . Fast-forward the `latest` and release branches
100
+ # ## 5 . Fast-forward the `latest` and release branches
101
101
102
102
The ` latest` branch points to the latest release tag to keep the main website subdomain up-to-date.
103
103
Run the following commands to do so:
@@ -116,29 +116,27 @@ git reset --hard tags/v1.3.0
116
116
git push -f upstream v1.3.x
117
117
` ` `
118
118
119
- # ## 7 . Unlock the `master` branch
119
+ # ## 6 . Unlock the `master` branch
120
120
121
121
See [this guide](# unlocking-branches) for steps to do so.
122
122
123
+ # ## 7. Post release steps
124
+
125
+ See the [post-release section](# post-release-steps).
126
+
123
127
124
128
# # Patch releases
125
129
126
130
We will use the ` v1.3.1` release version in this example.
127
131
128
- # ## 1. Check out the release branch
132
+ # ## 1. Create and push a release commit
129
133
130
- The release branch should already exist for the desired minor version:
134
+ Create a new branch from the release branch, which should already exist for the desired minor version,
135
+ to push the release commit to:
131
136
132
137
` ` ` sh
133
138
git checkout v1.3.x
134
139
git pull
135
- ` ` `
136
-
137
- # ## 2. Create and push a release commit
138
-
139
- Create a new branch to push the release commit:
140
-
141
- ` ` ` sh
142
140
git checkout -b release-v1.3.1
143
141
` ` `
144
142
@@ -161,23 +159,23 @@ git commit -m "Release v1.3.1"
161
159
git push -u origin release-v1.3.1
162
160
` ` `
163
161
164
- # ## 3 . Create and merge a new PR
162
+ # ## 2 . Create and merge a new PR
165
163
166
164
Create and merge a new PR for the above commit.
167
165
168
- # ## 4 . Lock down the `v1.3.x` branch
166
+ # ## 3 . Lock down the `v1.3.x` branch
169
167
170
168
Lock down this branch prevents further commits before the release completes.
171
169
See [this section](# locking-down-branches) for steps to do so.
172
170
173
- # ## 5 . Create and push a release tag
171
+ # ## 4 . Create and push a release tag
174
172
175
173
` ` ` sh
176
174
make tag RELEASE_VERSION=v1.3.1
177
175
git push upstream v1.3.1
178
176
` ` `
179
177
180
- # ## 6 . Fast-forward the `latest` branch
178
+ # ## 5 . Fast-forward the `latest` branch
181
179
182
180
The ` latest` branch points to the latest release tag to keep the main website subdomain up-to-date.
183
181
Run the following commands to do so:
@@ -188,10 +186,13 @@ git reset --hard tags/v1.3.1
188
186
git push -f upstream latest
189
187
` ` `
190
188
191
- # ## 7 . Unlock the `v1.3.x` branch
189
+ # ## 6 . Unlock the `v1.3.x` branch
192
190
193
191
See [this guide](# unlocking-branches) for steps to do so.
194
192
193
+ # ## 7. Post release steps
194
+
195
+ See the [post-release section](# post-release-steps).
195
196
196
197
# # Further reading
197
198
@@ -236,22 +237,20 @@ Make sure everyone in the relevant Slack channel is aware of the release so they
236
237
237
238
##### Unlocking branches
238
239
239
- <<<<<<< HEAD
240
- ### 11. Announce the release
240
+ Unlock a branch by changing the number of required approving reviewers back to 1.
241
+
242
+ ### Post-release steps
241
243
242
- Send an email to the [mailing list][mailing-list]
244
+ ##### Announce the release
245
+
246
+ Send an email to the [mailing list][mailing-list].
243
247
Post to Kubernetes slack in #kubernetes-operators and #operator-sdk-dev.
244
248
245
- ### 12. Bump open issues to the next release.
249
+ ##### Bump open issues to the next release.
246
250
247
251
In the [GitHub milestone][gh-milestones], bump any open issues to the
248
252
following release.
249
253
250
- ---
251
- =======
252
- Unlock a branch by changing the number of required approving reviewers back to 1.
253
- >>>>>>> automate prerelease commit, clean up release guide
254
-
255
254
256
255
[git]:https://git-scm.com/downloads
257
256
[gpg2]:https://gnupg.org/download/
@@ -260,14 +259,6 @@ Unlock a branch by changing the number of required approving reviewers back to 1
260
259
[netlify-deploy]:https://docs.netlify.com/site-deploys/overview/#deploy-summary
261
260
[doc-owners]: https://github.com/operator-framework/operator-sdk/blob/master/OWNERS
262
261
[release-page]:https://github.com/operator-framework/operator-sdk/releases
263
- <<<<<<< HEAD
264
- [homebrew]:https://brew.sh/
265
- [homebrew-formula]:https://github.com/Homebrew/homebrew-core/blob/master/Formula/operator-sdk.rb
266
- [homebrew-readme]:https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md#to-submit-a-version-upgrade-for-the-foo-formula
267
- [homebrew-repo]:https://github.com/Homebrew/homebrew-core
268
- [sdk-samples-repo]:https://github.com/operator-framework/operator-sdk-samples
262
+ [backports]:/docs/upgrading-sdk-version/backport-policy
269
263
[mailing-list]:https://groups.google.com/g/operator-framework
270
264
[gh-milestones]:https://github.com/operator-framework/operator-sdk/milestones
271
- =======
272
- [backports]:/docs/upgrading-sdk-version/backport-policy
273
- >>>>>>> automate prerelease commit, clean up release guide
0 commit comments