Something I've never quite understood about the practice of setting version numbers in files tracked by git, rather than in git metadata like tags, is how you sequence updating version numbers when you cut a release?
Should the version number committed to the repo be for the next version, and you just have be diligent about making corresponding PRs incrementing versions when you cut releases?