How can a CMake release tag and an embedded About-screen version stay in sync?
I maintain an independent release reference for a CMake-based desktop application. One published asset is tagged build-94, while the binary's About dialog and logs say build-95. The mismatch makes it difficult to connect a bug report to the actual package: a tester may paste the About string, while someone else searches the Git release tag. The release listing and its note about the differing labels illustrate the exact user-facing case. I want a build-time solution, not a rename in the documentation. A minimal example of the two sources of truth is: # CMakeLists.txt set(APP_VERSION "build-95"
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.