You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: releasing.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,12 @@
12
12
13
13
1. Create "release commit" containing changes to `<package>/__init__.py` with message `chore: release v<version>`. Release commit may contain other changes too, like to `CHANGELOG.md` and so on.
14
14
15
-
1. Create tag `v<version>` on release commit. E.g.,
15
+
1. Create PR for branch. Wait for tests, linters. Do a code review.
16
16
17
-
```sh
18
-
git tag -a v1.0.2
19
-
git push origin HEAD
20
-
```
17
+
1. To publish to Test PyPI `uv run nox -s publish_to_test_pypi`. See https://test.pypi.org/project/sphinx-reredirects/#history.
21
18
22
-
1.Create PR for branch. Wait for tests, linters. Do a code review.
19
+
1.Merge to main branch.
23
20
24
-
1.Meanwhile, the package has been published to Test PyPI: https://test.pypi.org/project/sphinx-reredirects/#history.
21
+
1.To publish to real PyPI `uv run nox -s publish_to_real_pypi`. See https://pypi.org/project/sphinx-reredirects/#history.
25
22
26
-
1.Merge to main branch. Any`v<version>` tag is automatically uploaded to real PyPI: https://pypi.org/project/sphinx-reredirects/#history
0 commit comments