Skip to content

Commit 8f72d48

Browse files
author
root
committed
update docs to reflect how to release a new version
1 parent 9117f05 commit 8f72d48

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

docs/development/building.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,20 +192,25 @@ poetry self add poetry-dynamic-versioning
192192

193193
### To Release a New Version
194194

195-
1. Create and push a tag:
196-
```bash
197-
git tag v1.0.0
198-
git push origin v1.0.0
195+
1. Set the version to the next patch version:
196+
```
197+
poetry version patch
199198
```
200199

201-
2. Build distribution packages:
200+
2. Commit your changes and push to the repository.
201+
202202
```bash
203-
poetry build
203+
git commit -m "Release version 0.1.3"
204204
```
205205

206-
3. Upload to PyPI:
207-
```bash
208-
poetry publish
206+
3. Set the tag to the new version:
207+
```
208+
git tag v0.1.3
209+
```
210+
211+
4. Push the changes to the repository:
212+
```
213+
git push --tags
209214
```
210215

211216
## Development Guidelines

0 commit comments

Comments
 (0)