Skip to content

Commit 7962492

Browse files
author
root
committed
update docs
1 parent 72965ce commit 7962492

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

docs/development/building.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,23 +192,37 @@ poetry self add poetry-dynamic-versioning
192192

193193
### To Release a New Version
194194

195-
1. Set the version to the next patch version:
195+
0. Make sure the Pull Request is merged into main.
196+
197+
1. Make sure you are on the main branch:
198+
199+
```bash
200+
git checkout main
201+
```
202+
203+
Or
204+
205+
```bash
206+
git switch main
207+
```
208+
209+
2. Set the version to the next patch version:
196210
```
197211
poetry version patch
198212
```
199213

200-
2. Set the tag to the new version:
214+
3. Set the tag to the new version:
201215
```
202216
git tag v0.1.3
203217
```
204218

205-
3. Commit your changes and push to the repository.
219+
4. Commit your changes and push to the repository.
206220

207221
```bash
208222
git commit -m "Release version 0.1.3"
209223
```
210224

211-
4. Push the changes to the repository:
225+
5. Push the changes to the repository:
212226
```
213227
git push --tags
214228
```

0 commit comments

Comments
 (0)