hape42 / dailygammon

DailyGammon-app is free and ad-free client for the long-running DailyGammon web-based application.
https://hape42.de/RoadMap
16 stars 6 forks source link

Build info is derived from git without modifying any source code #36

Closed MyMattes closed 1 year ago

MyMattes commented 1 year ago

Info.plist of the target build is used when saving CFBundleVersion and CFBundleShortVersionString. The app's version is taken from a git tag, and the build number is the counter of all commits. The settings bundle is updated accordingly.

This way a new version only requires a corresponding tag in git, without any changes of the source code.