blob: 37db400c8d7d32d2ac80101af7896d3e3dea4658 [file] [log] [blame]
diff --git a/tasks/config/build.js b/tasks/config/build.js
index 5005717095..83075d85d8 100644
--- a/tasks/config/build.js
+++ b/tasks/config/build.js
@@ -4,16 +4,9 @@ const platform = require('os').platform();
export default (grunt) => {
const pkgVersion = grunt.config.get('pkg.version');
- const sha = String(exec('git rev-parse HEAD')).trim();
+ const sha = "725943bf9e3ca6f5e7d286ded25b0207fc68caaa";
const version = buildVersion(grunt.option('release'), pkgVersion);
- let number;
-
- if (/^win/.test(platform)) {
- // Windows does not have the wc process and `find /C /V ""` does not consistently work
- number = String(exec('git log --format="%h"')).split('\n').length;
- } else {
- number = parseFloat(String(exec('git log --format="%h" | wc -l')).trim());
- }
+ let number = 15104;
return { sha, number, version };
};