Have 'release version' computation include the git hash only on .dev


No need to include a git hash in releases that are not .dev builds.