@@ -224,9 +224,9 @@ instructions.
224
224
"release-A.B.C". For a fix release, branch off the corresponding release branch. For
225
225
a feature release, branch off of main.
226
226
227
- `` `
228
- $ git switch -c release-A.B.C A.B.x
229
- ` ``
227
+ .. code-block :: text
228
+
229
+ $ git switch -c release-A.B.C A.B.x
230
230
231
231
2. Review the ``CHANGES.rst `` file and ensure each code change has a corresponding
232
232
entry. Only code changes need entries, not docs or non-published code and files. Use
@@ -239,9 +239,9 @@ instructions.
239
239
240
240
5. Commit with a standard message:
241
241
242
- `` `
243
- $ git commit -am 'release version A.B.C'
244
- ` ``
242
+ .. code-block :: text
243
+
244
+ $ git commit -am 'release version A.B.C'
245
245
246
246
6. Push the branch and open a PR. The title should be the same as the commit message
247
247
(if there was only one commit). No need to add a description. Assign it to the
@@ -255,10 +255,10 @@ instructions.
255
255
8. Create and push an annotated tag with a standard message. You'll see the new
256
256
"build" workflow status get added to the PR checks.
257
257
258
- `` `
259
- $ git tag -am 'release version A.B.C' A.B.C
260
- $ git push origin A.B.C
261
- ` ``
258
+ .. code-block :: text
259
+
260
+ $ git tag -am 'release version A.B.C' A.B.C
261
+ $ git push origin A.B.C
262
262
263
263
9. Wait for the "build", "provenance", and "create-release" workflows to succeed. Go
264
264
into the created draft release and check that the expected files (with the correct
@@ -277,22 +277,22 @@ instructions.
277
277
278
278
12. If this was a fix release, merge it into main now that the PR is merged.
279
279
280
- `` `
281
- $ git switch A.B.x
282
- $ git pull
283
- $ git switch main
284
- $ git merge A.B.x
285
- $ git push
286
- ` ``
280
+ .. code-block :: text
281
+
282
+ $ git switch A.B.x
283
+ $ git pull
284
+ $ git switch main
285
+ $ git merge A.B.x
286
+ $ git push
287
287
288
288
12. If this was a feature release, make a new branch for fix releases.
289
289
290
- `` `
291
- $ git switch main
292
- $ git pull
293
- $ git switch -c A.B.x
294
- $ git push
295
- ` ``
290
+ .. code-block :: text
291
+
292
+ $ git switch main
293
+ $ git pull
294
+ $ git switch -c A.B.x
295
+ $ git push
296
296
297
297
13. If this was a feature release, ask a maintainer with docs access to update Read the
298
298
Docs to use the new branch as the primary.
0 commit comments