Skip to content

Commit a00966f

Browse files
authored
Update build.js
1 parent 83b4551 commit a00966f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ function renew(code) {
8888
var commit = '00000000';
8989
try {
9090
commit = execSync('git rev-parse --short=10 HEAD').toString().trim();
91-
version = execSync('git describe').toString().trim();
92-
version = version.substring(1);
9391
whoami = execSync('whoami').toString().trim();
9492
} catch (e) {}
9593
code = code.replace(/jsPDF.version = '0.0.0'/g, "jsPDF.version = '" + version + "'");

0 commit comments

Comments
 (0)