fix prerelease version

This commit is contained in:
Marcel O'Neil 2018-04-15 20:08:55 -04:00
parent d3628f1568
commit 2e583b349b
No known key found for this signature in database
GPG key ID: C6D00B9C33263D72

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: