release.js
function exec(cmd) {
    const ret = shell.exec(cmd, {
        silent: true
    });

    if (ret.code != 0) {
        console.error("Error:", ret.stdout, ret.stderr);
        process.exit(1);
    }
    return ret;
}
function exec(cmd) {
    const ret = shell.exec(cmd, {
        silent: true
    });

    if (ret.code != 0) {
        console.error("Error:", ret.stdout, ret.stderr);
        process.exit(1);
    }
    return ret;
}
function exec ( cmd ) { const ret = shell . exec ( cmd , { silent : true } ) ; if ( ret . code != 0 ) { console . error ( "Error:" , ret . stdout , ret . stderr ) ; process . exit ( 1 ) ; } return ret ; }
Run commands quietly, log output and exit only on errors.
Run commands quietly log output and exit only on errors .