bin/update-changelog.js
function metadata(log, value) {
    var lines = value.split('\n');
    log.commit = lines[0].split(' ')[1];
    log.author = lines[1].split(':')[1].trim();
    log.date = lines[2].slice(8);
    return log
  }
function metadata(log, value) {
    var lines = value.split('\n');
    log.commit = lines[0].split(' ')[1];
    log.author = lines[1].split(':')[1].trim();
    log.date = lines[2].slice(8);
    return log
  }
function metadata ( log , value ) { var lines = value . split ( '\n' ) ; log . commit = lines [ 0 ] . split ( ' ' ) [ 1 ] ; log . author = lines [ 1 ] . split ( ':' ) [ 1 ] . trim ( ) ; log . date = lines [ 2 ] . slice ( 8 ) ; return log }
parse git log
parse git log