mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +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() {
|
var getCommitSha = function() {
|
||||||
return ""
|
if (process.env.GIT_COMMIT) {
|
||||||
|
return process.env.GIT_COMMIT;
|
||||||
|
return "";
|
||||||
};
|
};
|
||||||
|
|
||||||
var getPackageVersion = function() {
|
var getPackageVersion = function() {
|
||||||
|
Reference in New Issue
Block a user