File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff 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```
197211poetry version patch
198212```
199213
200- 2 . Set the tag to the new version:
214+ 3 . Set the tag to the new version:
201215```
202216git 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
208222git 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```
213227git push --tags
214228```
You can’t perform that action at this time.
0 commit comments