Skip to content

Commit

Permalink
Switch to bump-my-version for versioning updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kynan committed Feb 3, 2024
1 parent e66e198 commit 64db219
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Releasing a new version
-----------------------

To simplify updating the version number consistently across different files
and creating the appropriate annotated tag, we use bump2version_. For a new
and creating the appropriate annotated tag, we use bump-my-version_. For a new
patch release, run ::

bump2version patch
bump-my-version bump patch

and for a minor release ::

bump2version minor
bump-my-version bump minor

Remember to also push the release tag with ``git push --tags``.

Expand All @@ -24,5 +24,5 @@ Use twine_ to upload the new release to PyPI.
.. _GitHub: https://github.com/kynan/nbstripout
.. _bug reports: https://github.com/kynan/nbstripout/issues
.. _pull requests: https://github.com/kynan/nbstripout/pulls
.. _bump2version: https://github.com/c4urself/bump2version
.. _bump-my-version: https://github.com/callowayproject/bump-my-version
.. _twine: https://twine.readthedocs.io/en/latest/#using-twine

0 comments on commit 64db219

Please sign in to comment.