Merge pull request #653 from marceloneil/fix/prerelease-version

fix prerelease version
This commit is contained in:
Mathieu Virbel 2018-08-21 12:08:36 +02:00 committed by GitHub
commit a3d4e07465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: