File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 168168``` cargo
169169trustify-ui = { git = "https://github.com/guacsec/trustify-ui.git", branch = "release/x.y.z" }
170170```
171+
172+ ## Releasing the minor version
173+
174+ When releasing the minor version, there's a subset of steps that needs to be done.
175+ Here's the example releasing version ` 0.4.4 ` from ` release/0.4.z ` branch with all the commits for the release cherry-picked into it:
176+
177+ * Make sure you are starting with an updated release branch
178+
179+ ``` shell
180+ git checkout -b upstream/release/0.4.z
181+ git pull -r
182+ git checkout -b 0.4.4-prepare
183+ ```
184+
185+ * Prepare a release
186+
187+ ``` shell
188+ cargo release version 0.4.4
189+ cargo release version 0.4.4 -x
190+ cargo update
191+ cargo xtask precommit
192+ ```
193+
194+ * Push a commit and create a PR ** against release branch** (` release/0.4.z ` in this case)
195+
196+ ``` shell
197+ git commit -S -a -m " chore: prepare release 0.4.4"
198+ git push upstream 0.4.4-prepare
199+ ```
200+
201+ * Merge PR
202+
203+ * Create (signed) tag.
204+
205+ ``` shell
206+ git tag -S v0.4.4
207+ ```
208+
209+ * Push tag, which triggers GitHub release workflow.
210+
211+ ``` shell
212+ git push upstream v0.4.4
213+ ```
You can’t perform that action at this time.
0 commit comments