1
0

GetVersion.js 261 B

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