Update windows-builder.py

This commit is contained in:
Tomas Groth 2019-09-23 19:34:45 +00:00
parent fb473fa5a2
commit 6c7d10fd8d
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ class WindowsBuilder(Builder):
if '.dev' in self.version:
version, revision = self.version.split('.dev')
version = version + '.0' * (2 - version.count('.'))
self.portable_version = version + '.' + revision
self.portable_version = version + '.' + revision.split('+')[0]
else:
self.portable_version = self.version + '.0' * (3 - self.version.count('.'))
with open(os.path.join(config_dir, 'appinfo.ini.default'), 'r') as input_file, \