Skip to content

Commit

Permalink
add docs for releasing pint
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgsavage committed Dec 31, 2024
1 parent fadbf70 commit 942e615
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion docs/dev/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ features that work best as an extension package versus direct inclusion in Pint
* Extension (separate packages)

* Duck array types that wrap Pint (come above Pint
in :ref:`the type casting hierarchy <_numpy#technical-commentary>`
in :ref:`the type casting hierarchy <_numpy#technical-commentary>`)

* Uses features independent/on top of the libraries

Expand All @@ -130,6 +130,32 @@ features that work best as an extension package versus direct inclusion in Pint
* Examples: Dask


Creating a release
------------------

Maintainers may create a new release by tagging a commit::

$ # do changes and commit
$ git tag -a 0.24.rc0 -m "Tagging 0.24.rc0"
$ git push --tags

For the final release, add date to the 0.24 section in CHANGES, then::

$ git commit -a -m "Preparing for release 0.24"
$ git tag -a 0.24 -m "Tagging 0.24"

Then add to CHANGES the following::

0.25 (unreleased)
-----------------

And push the tags and CHANGES ::

$ git commit -a -m "Back to development: 0.25"
$ git push --tags



.. _github: http://github.com/hgrecco/pint
.. _`issue tracker`: https://github.com/hgrecco/pint/issues
.. _`github docs`: https://help.github.com/articles/closing-issues-via-commit-messages/
Expand Down

0 comments on commit 942e615

Please sign in to comment.