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