Use GIT_COMMIT if found in the environment

This commit is contained in:
Erjan Gavalji
2015-03-31 11:06:50 +03:00
parent c962d7005a
commit a6837a82fe

View File

@ -61,7 +61,9 @@ module.exports = function(grunt) {
};
var getCommitSha = function() {
return ""
if (process.env.GIT_COMMIT) {
return process.env.GIT_COMMIT;
return "";
};
var getPackageVersion = function() {