@@ -52,18 +52,22 @@ repo.
5252
53531 . ** Change directory** to your local Docsy repo.
5454
55- 2 . ** Create or update a [ CHANGELOG] entry** for v0.X.Y. The section should
56- provide a brief summary of breaking changes using the section template at
57- the end of the file. (Note that change details are autogenerated by GitHub
58- in a later step.)
55+ 2 . ** Create or update a [ CHANGELOG] entry** for v0.X.Y.
56+ - The section should provide a brief summary of breaking changes using the
57+ section template at the end of the file.
58+ - Ensure to remove the UNRELEASED note.
59+ - You'll create a new section for the next release in a later step.
5960
60- 3 . Run ` npm run fix ` .
61+ 3 . ** Update the release report blog post** for v0.X.Y, if any. Remove draft
62+ status.
63+
64+ 4 . Run ` npm run fix ` .
6165
6266 > Note: This might update the version in ` package.json ` via ` fix:version ` ,
6367 > but you can ignore this change since you'll be setting the version
6468 > explicitly in the next step.
6569
66- 4 . ** Update Docsy version** to v0.X.Y using the following from a (bash or zsh)
70+ 5 . ** Update Docsy version** to v0.X.Y using the following from a (bash or zsh)
6771 terminal:
6872
6973 ``` sh
@@ -74,13 +78,18 @@ repo.
7478 This updates both ` version` keys in [package.json] and
7579 [docsy.dev/hugo.yaml].
7680
77- 5 . Run ` npm run ci:test` , which runs ` ci:prepare` and more to ensure that,
81+ 6 . Run ` npm run ci:test` , which runs ` ci:prepare` and more to ensure that,
7882 e.g., vendor assets and [go.mod] dependencies are up-to-date, etc.
7983
80- 6. ** Submit a PR with your changes** , using a title like " Release v0.X.Y
81- preparation" .
84+ 7. ** Submit a PR with your changes** , using a title like " Release v0.X.Y
85+ preparation" . Use this command to create the PR via the web interface:
86+
87+ ` ` ` sh
88+ gh pr create --web --title " Release $VERSION preparation" \
89+ --body " - Contributes to #<ADD-RELEASE-PREP-ISSUE-HERE>"
90+ ` ` `
8291
83- 7 . ** Test the PR** branch from selected sites, and push any required
92+ 8 . ** Test the PR** branch from selected sites, and push any required
8493 adjustments.
8594 - If the test site uses Docsy as a Git submodule:
8695
@@ -90,15 +99,15 @@ repo.
9099 git switch -t REPO/BRANCH-NAME # e.g. chalin/chalin-m25-0.13.0-prerelease
91100 ` ` `
92101
93- 8 . ** Get PR approved and merged** .
102+ 9 . ** Get PR approved and merged** .
94103
95- 9. ** Pull in ` main` ** to get the last PR.
104+ 10. ** Pull in ` main` ** to get the last PR.
96105
97- 10 . ** Ensure** that you' re:
106+ 11 . ** Ensure** that you' re:
98107 - On the default branch, `main`
99108 - At the commit that you want to tag as v0.X.Y
100109
101- 11 . **Create and push a tag** for v0.X.Y. Set the REL variable to the actual
110+ 12 . **Create and push a tag** for v0.X.Y. Set the REL variable to the actual
102111 version, or use the VERSION variable if you set it in the previous step.
103112
104113 ```sh
@@ -112,7 +121,7 @@ repo.
112121 git tag $REL
113122 ```
114123
115- 12 . **Push the new tags** to the main remote (`origin` or `upstream` depending
124+ 13 . **Push the new tags** to the main remote (`origin` or `upstream` depending
116125 on your setup) as well as any secondary remotes, if any:
117126
118127 ```console
@@ -121,7 +130,7 @@ repo.
121130 * [new tag] v0.X.Y -> v0.X.Y
122131 ```
123132
124- 13 . **[Draft a new release][]** using GitHub web; fill in the fields as follows:
133+ 14 . **[Draft a new release][]** using GitHub web; fill in the fields as follows:
125134 - From the **release/tag dropdown**: Select the new release tag that you
126135 just pushed, v0.X.Y.
127136 - Set the **release title** to the release number (without the "v").
@@ -139,9 +148,9 @@ repo.
139148
140149 - Select **Create a discussion for this release**.
141150
142- 14 . **Publish the release**: click _Publish release_.
143- 15 . Test the release with a downstream project, such as [docsy-example].
144- 16 . If you find issues, determine whether they need to be fixed immediately. If
151+ 15 . **Publish the release**: click _Publish release_.
152+ 16 . Test the release with a downstream project, such as [docsy-example].
153+ 17 . If you find issues, determine whether they need to be fixed immediately. If
145154 so, get fixes submitted, reviewed and approved. Then publish a dot release:
146155 go back to step 1.
147156
0 commit comments