Skip to content

[v12] Update version in tsh.app Info.plist#26318

Merged
camscale merged 1 commit intobranch/v12from
camh/v12/backport-tsh-version
May 16, 2023
Merged

[v12] Update version in tsh.app Info.plist#26318
camscale merged 1 commit intobranch/v12from
camh/v12/backport-tsh-version

Conversation

@camscale
Copy link
Copy Markdown
Contributor

@camscale camscale commented May 16, 2023

Backport #25616 to branch/v12

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.

Issue: #25085
Link: https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion
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/v12 with commit d133b2d May 16, 2023
@camscale camscale deleted the camh/v12/backport-tsh-version branch May 16, 2023 21:51
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