Skip to content

Commit 5cec84e

Browse files
committed
docs: improve releasing docs
There's no need to approve your own PR, and it's safer to use git clean and twine.
1 parent 0520ffa commit 5cec84e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/source/releasing.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,16 @@ Things to do for releasing:
4141

4242
* tag with vVERSION, push tag
4343

44-
* push to PyPI
44+
* push to PyPI::
4545

46-
+ ``python3 setup.py sdist bdist_wheel upload``
46+
git clean -xdf # maybe run 'git clean -xdn' first to see what it will delete
47+
python3 setup.py sdist bdist_wheel
48+
twine upload dist/*
4749

4850
* update version number in the same pull request
4951

5052
+ add ``+dev`` tag to the end
5153

52-
* approve and merge the release pull request
54+
* merge the release pull request
5355

5456
* announce on gitter

0 commit comments

Comments
 (0)