|
@@ -25,7 +25,7 @@ const myDate = new Date()
|
|
const buildTime = myDate.getFullYear() +'-'+ (myDate.getMonth()+1) +'-'+ myDate.getDate() +' '+ myDate.getHours() +':'+ myDate.getMinutes();
|
|
const buildTime = myDate.getFullYear() +'-'+ (myDate.getMonth()+1) +'-'+ myDate.getDate() +' '+ myDate.getHours() +':'+ myDate.getMinutes();
|
|
const logsList = getFile ? fs.readFileSync('.git/logs/HEAD', 'utf-8').replace(/\r\n|\r/g, "\n").split("\n") : false
|
|
const logsList = getFile ? fs.readFileSync('.git/logs/HEAD', 'utf-8').replace(/\r\n|\r/g, "\n").split("\n") : false
|
|
const buildUser = getFile ? logsList[logsList.length-2].split(" ")[2] : '未配置'
|
|
const buildUser = getFile ? logsList[logsList.length-2].split(" ")[2] : '未配置'
|
|
-//生成随机版本编码
|
|
|
|
|
|
+
|
|
//生成随机版本编码
|
|
//生成随机版本编码
|
|
const revision = generateRandomString()
|
|
const revision = generateRandomString()
|
|
process.env.VUE_APP_RENEWAL_ENCODING = revision
|
|
process.env.VUE_APP_RENEWAL_ENCODING = revision
|