mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 21:12:50 +00:00
For osx release build bzr revision is not included in .version file
bzr-revno: 4
This commit is contained in:
commit
3267593d54
@ -377,7 +377,11 @@ class MacosxBuilder(object):
|
|||||||
self.version_string = u'%s-bzr%s' % (tag, latest)
|
self.version_string = u'%s-bzr%s' % (tag, latest)
|
||||||
self.version_tag = tag
|
self.version_tag = tag
|
||||||
version_file = open(os.path.join(self.dist_path, u'.version'), u'w')
|
version_file = open(os.path.join(self.dist_path, u'.version'), u'w')
|
||||||
|
# Release version does not contain revision in .dmg name.
|
||||||
|
if self.args.devel:
|
||||||
version_file.write(self.version_string)
|
version_file.write(self.version_string)
|
||||||
|
else:
|
||||||
|
version_file.write(self.version_tag)
|
||||||
version_file.close()
|
version_file.close()
|
||||||
|
|
||||||
def copy_plugins(self):
|
def copy_plugins(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user