Skip to content

Commit

Permalink
Optimize release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
lsaffre committed Jul 21, 2024
1 parent 633345a commit c323b4f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,15 @@ Run the test suite::

Release a new version to PyPI::

$ hatch version micro
$ git commit -m "release to pypi"
$ git tag v$(hatch version)
$ git push --tags

Manuael release to PyPI without GitHub::
See `Hatch Versioning <https://hatch.pypa.io/1.8/version/>`__. and `Publishing
to PyPI with a Trusted Publisher <https://docs.pypi.org/trusted-publishers/>`__.

Manually release to PyPI using your machine and token::

$ hatch build
$ twine check --strict dist/*
Expand Down

0 comments on commit c323b4f

Please sign in to comment.