Skip to content

Commit

Permalink
Fixed deb script suffix arg
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoussin committed Jul 17, 2019
1 parent c231250 commit 72e57d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions make_deb.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ def upload(ver):

# Extract version from .qmake.conf
ver = ''
suffix = args.suffix
ver_suffix = ''
with open('.qmake.conf') as f:
for l in f.readlines():
r = re.search(r'^MODULE_VERSION = (.+)', l)
Expand All @@ -160,7 +158,8 @@ def upload(ver):
print('Could not read version from .qmake.conf')
exit(1)


ver_suffix = ver
suffix = args.suffix
if suffix:
ver_suffix = ver + '~' + suffix

Expand Down

0 comments on commit 72e57d2

Please sign in to comment.