Skip to content

[Feature request]: Add prerelease identifier to CFBundleShortVersionString in Info.plistΒ #1025

@cdwmhcc

Description

@cdwmhcc

Is your feature request related to a problem? Please describe

No response

Describe your feature request!

Currently, prerelease versions (beta, rc, etc.) don't include the prerelease identifier in the app's Info.plist file, which causes version comparison issues for third-party update checkers.

Current behavior:

  • GitHub Release tag: 2.5.0-beta.0
  • CFBundleShortVersionString in Info.plist: 2.5.0.0 ❌
  • CFBundleVersion in Info.plist: 164

Expected behavior:

  • GitHub Release tag: 2.5.0-beta.0
  • CFBundleShortVersionString in Info.plist: 2.5.0-beta.0 βœ…
  • CFBundleVersion in Info.plist: 164

Why this matters:
When comparing versions programmatically:

  • 2.5.0.0 (from Info.plist) > 2.5.0-beta.0 (from GitHub) ❌ Incorrect
  • Update checkers think the local version is newer than the latest release
  • This breaks automatic update detection

Suggested fix:
Include the prerelease identifier in CFBundleShortVersionString to match the semantic versioning standard:

<key>CFBundleShortVersionString</key>
<string>2.5.0-beta.0</string>

Thank you for considering this improvement!

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

πŸ“• Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions