lib/utils/win-releases.js
function generateRELEASES(entries) {
    return _.map(entries, function(entry) {
        var filename = entry.filename;

        if (!filename) {
            filename = [
                entry.app,
                entry.version,
                entry.isDelta? 'delta.nupkg' : 'full.nupkg'
            ].join('-');
        }

        return [
            entry.sha,
            filename,
            entry.size
        ].join(' ');
    })
    .join('\n');
}
function generateRELEASES(entries) {
    return _.map(entries, function(entry) {
        var filename = entry.filename;

        if (!filename) {
            filename = [
                entry.app,
                entry.version,
                entry.isDelta? 'delta.nupkg' : 'full.nupkg'
            ].join('-');
        }

        return [
            entry.sha,
            filename,
            entry.size
        ].join(' ');
    })
    .join('\n');
}
function generateRELEASES ( entries ) { return _ . map ( entries , function ( entry ) { var filename = entry . filename ; if ( ! filename ) { filename = [ entry . app , entry . version , entry . isDelta ? 'delta.nupkg' : 'full.nupkg' ] . join ( '-' ) ; } return [ entry . sha , filename , entry . size ] . join ( ' ' ) ; } ) . join ( '\n' ) ; }
Generate a RELEASES file
Generate a RELEASES file