mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Merge pull request #2352 from mgolinelli/patch-1
Update get_build_props.js
This commit is contained in:
commit
ae1edeb591
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ module.exports = function (grunt) {
|
|||
|
||||
grunt.registerTask('get_build_props', function () {
|
||||
Promise.props({
|
||||
sha: spawn.silent('git', ['log', '--format=%H', '-n1'])(),
|
||||
sha: spawn.silent('git', ['rev-parse', 'HEAD'])(),
|
||||
num: spawn.silent('sh', ['-c', 'git log --format="%h" | wc -l'])()
|
||||
})
|
||||
.then(function (props) {
|
||||
|
@ -13,4 +13,4 @@ module.exports = function (grunt) {
|
|||
})
|
||||
.nodeify(this.async());
|
||||
});
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue