Skip to content

Commit

Permalink
Update release process
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Mar 8, 2023
1 parent 40c867a commit 69ae325
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions DEVELOPMENT.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ Release Process for Maintainers

Replace ``X.Y.Z`` with the release you would like to make.

(The following assumes the remote you forked is called ``origin``, and the canonical sarugaku/resolvelib is under ``upstream``.)

* Make sure the news fragments are in place.
* ``git checkout -b release/X.Y.Z``
* ``nox -s release -- --repo https://upload.pypi.org/legacy/ --prebump X.Y.Z+1.dev0 --version X.Y.Z``
* ``git push origin master --tags``
* ``git push upstream master --tags``
* ``git push upstream --tags``
* ``git push origin release/X.Y.Z``
* Open a pull request on GitHub and merge the ``release/X.Y.Z`` branch into main.

Breakdown of the ``release`` nox task:

Expand Down

0 comments on commit 69ae325

Please sign in to comment.