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