Having produced both iOS apps and developer tools used in them, I feel very strongly about using semantic versioning. It’s a small price to pay to avoid all sorts of headaches, potentially for many more people than yourself. In my opinion, there’s no reason not to do it.
Maybe you don’t like the hassle of editing that one line in that config file, and coming up with a commit message for the banal change? And then also maybe tagging it with the exact same template you used for all the other tags (after 2.4.17, because that’s when you started/stopped prepending a “v” to it)? Or maybe you’ve just forgotten one of the steps in the midst of hot-patching a critical bug?
Well, I have seen and/or done all of these things at some point. That’s why I wrote Vrsnr to help alleviate the problem for myself. And as if that weren’t simple enough, I automated the automation in a Rake task:
After git stashing
--all of your working index, this will:
--readto get the version information back out and create a git tag
and then pop the stash to resume your regularly scheduled programming.
💡 Suggestions, questions, comments? Please submit a PR!.