mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Use GIT_COMMIT if found in the environment
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user