WiredClient icon indicating copy to clipboard operation
WiredClient copied to clipboard

Consistent versioning

Open scisme opened this issue 7 years ago • 2 comments

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/

scisme avatar Nov 15 '18 22:11 scisme

Ok, what I did from the repository side is:

  1. create tag when we want to release a binary (a Debug or real Release version)
  2. the tag is composed of version number + build number, as follow: 2.4-352
  3. then use GitHub Release feature to expose it to the world

You can see an exemple here: https://github.com/nark/WiredClient/releases

nark avatar Nov 16 '18 11:11 nark

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.

scisme avatar Nov 19 '18 21:11 scisme