Fixes git tag semver for the CLI
- This conditionally increments the patch version, for dev builds only, which are tagged with a '-gXXXXXXX' postfix.
- Determining the Haven version has been simplified for all jobs to re-use.
Edited by Roderick Schaefer