mirror of
https://github.com/caprover/caprover
synced 2025-12-16 08:15:42 +00:00
Added details to deploy script
This commit is contained in:
@@ -58,7 +58,7 @@ exec('npm run build')
|
|||||||
throw new Error(data)
|
throw new Error(data)
|
||||||
}
|
}
|
||||||
|
|
||||||
return exec (`rm -rf ./build`)
|
return exec(`rm -rf ./build`)
|
||||||
|
|
||||||
})
|
})
|
||||||
.then(function () {
|
.then(function () {
|
||||||
@@ -122,6 +122,7 @@ exec('npm run build')
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!isVersionValid || !highestTagValue || !version) {
|
if (!isVersionValid || !highestTagValue || !version) {
|
||||||
|
console.log(`isVersionValid: ${isVersionValid} highestTagValue: ${highestTagValue}`)
|
||||||
throw new Error('The version you are pushing is not valid! ' + version);
|
throw new Error('The version you are pushing is not valid! ' + version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user