Merge pull request #653 from marceloneil/fix/prerelease-version
fix prerelease version
This commit is contained in:
commit
a3d4e07465
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