lib/omnibus/packagers/windows_base.rb
def windows_package_version
      major, minor, patch = project.build_version.split(/[.+-]/)
      [major, minor, patch, project.build_iteration].join(".")
    end
def windows_package_version
      major, minor, patch = project.build_version.split(/[.+-]/)
      [major, minor, patch, project.build_iteration].join(".")
    end
Parse and return the version from the {Project#build_version}.

 A project's +build_version+ looks something like:

     dev builds => 11.14.0-alpha.1+20140501194641.git.94.561b564
                => 0.0.0+20140506165802.1

     rel builds => 11.14.0.alpha.1 || 11.14.0

 The appx and msi version specs expects a version that looks like X.Y.Z.W where
 X, Y, Z & W are all 32 bit integers.

 @return [String]