From 69ae3253545a1da31a0096686693eed5c2dee08c Mon Sep 17 00:00:00 2001 From: Tzu-ping Chung Date: Wed, 8 Mar 2023 14:23:30 +0800 Subject: [PATCH] Update release process --- DEVELOPMENT.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/DEVELOPMENT.rst b/DEVELOPMENT.rst index 3765a89..776fc36 100644 --- a/DEVELOPMENT.rst +++ b/DEVELOPMENT.rst @@ -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: