GetVersion.js 247 B

12345678
  1. var nThen = require('nthen');
  2. var Exec = require('child_process').exec;
  3. var getversion = module.exports = function (callback) {
  4. nThen(function (waitFor) {
  5. var child = Exec('git describe --always --dirty --tags', callback);
  6. });
  7. };