diff --git a/build/update_version_from_git.py b/build/update_version_from_git.py index 2768993a7f3..f25ffff1877 100755 --- a/build/update_version_from_git.py +++ b/build/update_version_from_git.py @@ -53,11 +53,11 @@ def run_command(cmd): with open('.TriblerVersion', 'w') as f: f.write(version_id) - if sys.platform == 'linux2': + if sys.platform == 'linux2' or sys.platform == 'linux': run_command('dch -v {} New upstream release.'.format(version_id).split()) - + logger.info('Writing AppStream version info.') - + import time import xml.etree.ElementTree as xml import defusedxml.ElementTree as defxml