|
@@ -3,7 +3,7 @@ const exec = require('child_process').exec; //异步子进程
|
|
|
const execSync = require('child_process').execSync; //同步子进程
|
|
|
const fs = require('fs'); //文件读取模块
|
|
|
const versionPath = 'version.txt'; //version路径
|
|
|
-const buildPath = 'fms'; //打包的路径
|
|
|
+const buildPath = 'wandaBmGuideH5'; //打包的路径
|
|
|
const autoPush = true; //写入版本信息之后是否自动提交git上
|
|
|
const autoText = "node自动提交的版本信息"; //自动提交时的说明
|
|
|
const commit = execSync('git show -s --format=%H').toString().trim(); //当前提交的版本号
|