增加node多版本兼容打包
This commit is contained in:
@@ -20,8 +20,7 @@ module.exports = {
|
||||
updateCMD = `/root/node-service/update.sh ${name} ${zipPath}`,
|
||||
buildCMD = `/root/node-service/build.sh ${type} ${zipPath} ${target}`
|
||||
if (nodeVersion) {
|
||||
updateCMD += `&n ${nodeVersion}`
|
||||
buildCMD += `&n 16.14.0`
|
||||
buildCMD += ` ${nodeVersion}`
|
||||
}
|
||||
return execute(updateCMD).then(() => execute(buildCMD))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user