build script - WiX project version is not set dynamically
Instead of leaving it at 18.104.22.168, the version should be set dynamically by the build script. Also, instead of using 22.214.171.124, stick to Major.Minor.Revision (0.0.0) as the versioning scheme.
#2 Updated by Deoren Moor almost 7 years ago
So far I'm using this logic to get the version info to pass to the WiX build process:
if release_version[0:3] == "dev": msi_version = '0.0.' + str(release_version[9:]) else: msi_version = release_version
Testing builds will have dev-svn as the prefix, so that makes it easy to match on and the character count is fixed. This also makes getting the svn revision easy via a slice.
If this isn't a Testing build, then use the release_version as the msi_version.