Skip to content

Fix MSI creation

Carlos Pascual requested to merge github/fork/cpascual/bug-352 into develop

The introduction of proper semver support with bumpversion (#347) broke the creation of MSI packages (see #352 (closed)). The reason is that distutils.version.StrictVersion does not support semantic versioning for pre-releases. As a workaround, normalize the version to be acceptable for StrictVersion. This Fixes #352 (closed).

Note that the normalized version is identical to the semver except for pre-releases (where '-dev' is replaced by 'a0').

UPDATE: a different approach was finally selected after this suggestion (https://github.com/taurus-org/taurus/pull/356#discussion_r92418123) by @reszelaz

Merge request reports