Skip to content

Commit

Permalink
Add platform linux
Browse files Browse the repository at this point in the history
  • Loading branch information
overflw committed Apr 23, 2021
1 parent 6d8f554 commit 33b834e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/update_version_from_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33b834e

Please sign in to comment.