WiredClient
WiredClient copied to clipboard
Consistent versioning
To avoid confusion we should have a consistent versioning and set CFBundleVersion to number of commits and CFBundleShortVersionString to the current tag, as described here:
https://www.mokacoding.com/blog/automatic-xcode-versioning-with-git/
Ok, what I did from the repository side is:
- create tag when we want to release a binary (a Debug or real Release version)
- the tag is composed of version number + build number, as follow: 2.4-352
- then use GitHub Release feature to expose it to the world
You can see an exemple here: https://github.com/nark/WiredClient/releases
The point of using the script is to have a consistent build number that is derived from the number of commits from the git repo. 352 in this case is just a number you increase now and it doesn't really relate to anything?
So my suggestion is to just keep the tag as 2.4 and perhaps have one for the "real" release versions and the other could perhaps be together with some CI solution to have nightly builds like morris used to have?
So there could perhaps be a 2.4 (Release) tag and a 2.4.1 (Nigthly) tag.