fix prerelease version
This commit is contained in:
parent
d3628f1568
commit
2e583b349b
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ class Version(_BaseVersion):
|
|||
|
||||
# Pre-release
|
||||
if self._version.pre is not None:
|
||||
parts.append("".join(str(x) for x in self._version.pre))
|
||||
parts.append("-" + "".join(str(x) for x in self._version.pre))
|
||||
|
||||
# Post-release
|
||||
if self._version.post is not None:
|
||||
|
|
Loading…
Reference in a new issue