Skip to content

Commit e516656

Browse files
committed
Add troubleshooting info
1 parent 09febb9 commit e516656

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,15 @@ Creating a release
201201
4. Use Twine to upload to pypi::
202202

203203
twine upload dist/*
204+
205+
206+
Troubleshooting
207+
---------------
208+
209+
If you get some crazy version number like
210+
``2.0.1.dev0+g7bd8575.d20220310`` instead of what you expect (eg
211+
``2.0.0``), it's because you have uncommitted or untracked files in
212+
your local working copy, or you created more commits after creating
213+
the tag. Such a version number will be refused by pypi (and it's not a
214+
good version number anyways), so make sure you have a clean working
215+
copy before building.

0 commit comments

Comments
 (0)