Skip to content

[v13] Update version in tsh.app Info.plist#26314

Merged
camscale merged 1 commit intobranch/v13from
bot/backport-25616-branch/v13
May 16, 2023
Merged

[v13] Update version in tsh.app Info.plist#26314
camscale merged 1 commit intobranch/v13from
bot/backport-25616-branch/v13

Conversation

@camscale
Copy link
Copy Markdown
Contributor

Backport #25616 to branch/v13

Update the version in tsh.app (tsh and tshdev) Info.plist files when
make version (make update-version) is run. If the version number has
any semver prerelease tags, then the tsh version number will be set to
"1.0", as those tags are not valid in the CFBundleShortVersionString
field. For a release without a semver tag, the value will be set.

Issue: #25085
Link: https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring
Backport: #25616

Update the version in tsh.app (tsh and tshdev) `Info.plist` files when
`make version` (`make update-version`) is run. If the version number has
any semver prerelease tags, then the tsh version number will be set to
"1.0", as those tags are not valid in the CFBundleShortVersionString or
CFBundleVersion fields. For a release without a semver tag, the value
will be set.

This will update the CFBundleVersion and CFBundleShortVersionString
fields of the `Info.plist` file.

This commit contains re-written plist files as they get reindented by
the tool, the CFBundleVersion becomes "1.0" (was "1") and one empty
element is shortened to the empty-element form.

Link: https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion
Link: https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring
@camscale camscale added this pull request to the merge queue May 16, 2023
Merged via the queue into branch/v13 with commit daf407a May 16, 2023
@camscale camscale deleted the bot/backport-25616-branch/v13 branch May 16, 2023 21:49
@r0mant r0mant mentioned this pull request Jul 14, 2023
@fheinecke fheinecke mentioned this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants