Skip to content

Commit

Permalink
reorder steps
Browse files Browse the repository at this point in the history
  • Loading branch information
xflr6 committed Nov 28, 2021
1 parent 27a3a2a commit e2185cd
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions docs/release_process.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,6 @@ If changes are needed (and go back to: **Cleanup**):
$ git commit --amend --date=now
Publish
-------

Publish the release with twine_:

.. code:: bash
$ python -m twine upload dist/*
Switch to main branch and merge ``release``:

.. code:: bash
Expand All @@ -96,22 +86,35 @@ Create annotated release tag:
$ git tag -a -m "$MAJOR.$MINOR[.$BUGFIX] release"
Bump version to ``$MAJOR.$MINOR.[.$BUGFIX].dev0``:
Bump post-release version to ``$MAJOR.$MINOR.[.$BUGFIX].dev0``:

- ``docs/conf.py``
- ``graphviz/__init__.py``
- ``setup.py``

Document release:
Document post-release:

- edit ``CHANGES.rst`` (add ``Version $MAJOR.$MINOR[.$BUGFIX] (in development)``)

Commit to main branch and push:
Commit version bump to main branch:

.. code:: bash
$ git commit -m "bump version for development"
$ git push --tags # pushes all tags
Publish
-------

Publish the release with twine_:

.. code:: bash
$ python -m twine upload dist/*
Push main branch and push all new tags:

$ git push --tags


Verify
Expand Down

0 comments on commit e2185cd

Please sign in to comment.