lib/utils/win-releases.js
function normVersion(tag) {
    var parts = new semver.SemVer(tag);
    var prerelease = "";

    if (parts.prerelease && parts.prerelease.length > 0) {
        prerelease = hashPrerelease(parts.prerelease);
    }

    return [
        parts.major,
        parts.minor,
        parts.patch
    ].join('.') + (prerelease? '.'+prerelease : '');
}
function normVersion(tag) {
    var parts = new semver.SemVer(tag);
    var prerelease = "";

    if (parts.prerelease && parts.prerelease.length > 0) {
        prerelease = hashPrerelease(parts.prerelease);
    }

    return [
        parts.major,
        parts.minor,
        parts.patch
    ].join('.') + (prerelease? '.'+prerelease : '');
}
function normVersion ( tag ) { var parts = new semver . SemVer ( tag ) ; var prerelease = "" ; if ( parts . prerelease && parts . prerelease . length > 0 ) { prerelease = hashPrerelease ( parts . prerelease ) ; } return [ parts . major , parts . minor , parts . patch ] . join ( '.' ) + ( prerelease ? '.' + prerelease : '' ) ; }
Map a semver version to a windows version
Map a semver version to a windows version