mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 04:52:50 +00:00
Fix issue where bzr revision was included for release in .version files.
This commit is contained in:
parent
8729b6a2a3
commit
07cceba2c6
@ -377,7 +377,11 @@ class MacosxBuilder(object):
|
||||
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(self.version_string)
|
||||
# Release version does not contain revision in .dmg name.
|
||||
if self.args.devel:
|
||||
version_file.write(self.version_string)
|
||||
else:
|
||||
version_file.write(self.version_tag)
|
||||
version_file.close()
|
||||
|
||||
def copy_plugins(self):
|
||||
|
Loading…
Reference in New Issue
Block a user