Browse Source

Release script fix

master
Ivan Bravo Bravo 3 years ago
parent
commit
3cb63095c4
  1. 6
      scripts/release.js

6
scripts/release.js

@ -151,15 +151,15 @@ function zip() { @@ -151,15 +151,15 @@ function zip() {
const deferred = new Deferred()
const process = Seven.add(filePath, '*', {
const sevenProcess = Seven.add(filePath, '*', {
recursive: true
})
process.on('error', (err) => {
sevenProcess.on('error', (err) => {
deferred.reject(err)
})
process.on('end', (info) => {
sevenProcess.on('end', (info) => {
deferred.resolve()
})

Loading…
Cancel
Save