Skip to content

Commit 74ba4b2

Browse files
davidfischerBlendify
authored andcommitted
Upload signed packages to PyPI with twine (#651)
* Upload signed packages to PyPI with twine * Delete previous distributions
1 parent 4fc72d9 commit 74ba4b2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/contributing.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,14 @@ you should do the following:
8080
#. Commit that change.
8181
#. Tag the release in git: ``git tag $NEW_VERSION``.
8282
#. Push the tag to GitHub: ``git push --tags origin``.
83-
#. Upload the package to PyPI: ``python setup.py sdist bdist_wheel upload``.
83+
#. Upload the package to PyPI:
84+
85+
.. code:: bash
86+
87+
$ rm -rf dist/
88+
$ python setup.py sdist bdist_wheel
89+
$ twine upload --sign --identity [email protected] dist/*
90+
8491
#. In the ``readthedocs.org`` repo, edit the ``bower.json`` file to point at the correct version
8592
(``sphinx-rtd-theme": "https://github.com/rtfd/sphinx-rtd-theme.git#$NEW_VERSION"``).
8693
#. In the ``readthedocs.org`` repo, run ``gulp build`` to update the distributed theme files.

0 commit comments

Comments
 (0)