Skip to content

Commit

Permalink
remove old build.nsi from bump_version
Browse files Browse the repository at this point in the history
  • Loading branch information
RoDuth committed Oct 22, 2017
1 parent 62a464a commit b19f282
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def bump_desktop_file(filename):
bump_file(filename, rx)


def bump_nsi_file(filename, varname='version'):
def bump_nsi_file(filename, varname='VERSION'):
"""
bump NSIS installer files
"""
Expand All @@ -136,9 +136,7 @@ def bump_nsi_file(filename, varname='version'):
bump_py_file(os.path.join(root_of_clone(), 'bauble/version.py'))
bump_py_file(os.path.join(root_of_clone(), 'doc/conf.py'), 'release')
bump_desktop_file(os.path.join(root_of_clone(), 'data/ghini.desktop'))
bump_nsi_file(os.path.join(root_of_clone(), 'scripts/build.nsi'))
bump_nsi_file(os.path.join(root_of_clone(), 'scripts/build-multiuser.nsi'),
'VERSION')
bump_nsi_file(os.path.join(root_of_clone(), 'scripts/build-multiuser.nsi'))

rx = "(^VERSION=\").*?\..*?\..*?(\".*?%s.*?$)" % bump_tag
bump_file(os.path.join(root_of_clone(), 'packages/builddeb.sh'), rx)
Expand Down

0 comments on commit b19f282

Please sign in to comment.