UNPKG

npub

Version:

publishing tool for your node projects hosted on github

17 lines (16 loc) 458 B
// Generated by CoffeeScript 2.0.0-beta7 void function () { var debug; debug = require('debug')('commit-changes'); module.exports = function (git, version, callback) { debug('v' + version); return git.commit('v' + version, function (success) { debug('status: ' + success); if (!success) { console.error('[npub] failed to commit changes'); process.exit(1); } return callback(); }); }; }.call(this);