[Libreoffice-bugs] [Bug 74244] macOS: Version info only shows three digits, not full version information

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 21 09:26:32 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=74244

--- Comment #25 from eisa01 <eisa01 at gmail.com> ---
I submitted a patch to gerrit to fix the issue that 6.4.0.3 shows up as 6.4.3
https://gerrit.libreoffice.org/c/core/+/94623/1

I now see that the recommended would actually have been to use the three
version identifier for ShortVersionString as that should be for released
versions, while the BundleVersion can have all four, the fourth is just ignored
if it exceeds three (assume the same happens for the short string)

But, I think the current patch is sufficient

CFBundleShortVersionString (String - iOS, macOS) specifies the release version
number of the bundle, which identifies a released iteration of the app.

CFBundleVersion - used for unreleased (so LO would use four integers)
While developing a new version of your app, you can include a suffix after the
number that is being updated; for example 3.1.3a1. The character in the suffix
represents the stage of development for the new version. For example, you can
represent development, alpha, beta, and final candidate, by d, a, b, and fc.
The final number in the suffix is the build version, which cannot be 0 and
cannot exceed 255. When you release the new version of your app, remove the
suffix.

You can include more integers but the system ignores them.
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102364

https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion?language=objc

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200521/78e6a5b4/attachment.htm>


More information about the Libreoffice-bugs mailing list