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
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,15 @@
3
3
1. Determine which package you're releasing
4
4
2. Determine the next version, following [semantic versioning](https://semver.org/)
5
5
3. Create a release branch: `git checkout -b release/{package}-v{version}`
6
-
4. Update that package's CHANGELOG with:
6
+
4. Update that package's `pyproject.toml` with the new version
7
+
5. Update that package's CHANGELOG with:
7
8
- A new header with the new version
8
9
- A new link at the bottom of the CHANGELOG for that header
9
-
5.`git push -u origin`
10
-
6. Once approved, merge the PR
11
-
7.`git checkout main && git pull && scripts/release {package}`
12
-
8. Go to the draft release href provided by the script, update that Github release with information from the CHANGELOG, and publish it
13
-
9. Github actions will automatically publish a new PyPI release
10
+
6.`git push -u origin`
11
+
7. Once approved, merge the PR
12
+
8.`git checkout main && git pull && scripts/release {package}`
13
+
9. Go to the draft release href provided by the script, update that Github release with information from the CHANGELOG, and publish it
14
+
10. Github actions will automatically publish a new PyPI release
14
15
15
16
> [!IMPORTANT]
16
17
> You'll need to set up [.netrc authentication](https://pygithub.readthedocs.io/en/stable/examples/Authentication.html#netrc-authentication) to use `scripts/release`.
0 commit comments