mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
Clean: merge version_string lines in osx build script.
This commit is contained in:
parent
88e2bc4ed9
commit
40cb404af6
@ -374,11 +374,10 @@ class MacosxBuilder(object):
|
||||
raise Exception(u'Error running bzr log')
|
||||
output_ascii = unicode(output, errors=u'ignore')
|
||||
latest = output_ascii.split(u':')[0]
|
||||
version_string = u'%s-bzr%s' % (tag, latest)
|
||||
self.version_string = version_string
|
||||
self.version_string = u'%s-bzr%s' % (tag, latest)
|
||||
self.version_tag = tag
|
||||
version_file = open(os.path.join(self.dist_path, u'.version'), u'w')
|
||||
version_file.write(version_string)
|
||||
version_file.write(self.version_string)
|
||||
version_file.close()
|
||||
|
||||
def copy_plugins(self):
|
||||
|
Loading…
Reference in New Issue
Block a user