mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-15 00:50:03 +00:00
handle build errors
This commit is contained in:
parent
2188eef202
commit
986bdf8e24
@ -181,7 +181,6 @@ jobs:
|
|||||||
GH_TOKEN: $(GH_TOKEN)
|
GH_TOKEN: $(GH_TOKEN)
|
||||||
APPSTORE_USERNAME: $(APPSTORE_USERNAME)
|
APPSTORE_USERNAME: $(APPSTORE_USERNAME)
|
||||||
APPSTORE_PASSWORD: $(APPSTORE_PASSWORD)
|
APPSTORE_PASSWORD: $(APPSTORE_PASSWORD)
|
||||||
BRANCH: $(BUILD_SOURCEBRANCH)
|
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -7,7 +7,7 @@ const notarizer = require('electron-notarize')
|
|||||||
module.exports = async function (params) {
|
module.exports = async function (params) {
|
||||||
console.log('env: ', process.env)
|
console.log('env: ', process.env)
|
||||||
// notarize the app on Mac OS only.
|
// notarize the app on Mac OS only.
|
||||||
if (process.platform !== 'darwin'){// || process.env.BRANCH !== 'refs/heads/master') {
|
if (process.platform !== 'darwin' || process.env.BUILD_SOURCEBRANCH !== 'refs/heads/master') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
console.log('afterSign hook triggered', params)
|
console.log('afterSign hook triggered', params)
|
||||||
|
@ -11,4 +11,4 @@ builder({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
publish: 'onTag',
|
publish: 'onTag',
|
||||||
})
|
}).catch(() => process.exit(1))
|
||||||
|
@ -11,4 +11,4 @@ builder({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
publish: 'onTag',
|
publish: 'onTag',
|
||||||
})
|
}).catch(() => process.exit(1))
|
||||||
|
@ -5,11 +5,13 @@ const vars = require('./vars')
|
|||||||
|
|
||||||
lifecycles = []
|
lifecycles = []
|
||||||
for (let dir of ['app', 'terminus-core', 'terminus-ssh', 'terminus-terminal']) {
|
for (let dir of ['app', 'terminus-core', 'terminus-ssh', 'terminus-terminal']) {
|
||||||
lifecycles.push([rebuild({
|
build = rebuild({
|
||||||
buildPath: path.resolve(__dirname, '../' + dir),
|
buildPath: path.resolve(__dirname, '../' + dir),
|
||||||
electronVersion: vars.electronVersion,
|
electronVersion: vars.electronVersion,
|
||||||
force: true,
|
force: true,
|
||||||
}).lifecycle, dir])
|
})
|
||||||
|
build.catch(() => process.exit(1))
|
||||||
|
lifecycles.push([build.lifecycle, dir])
|
||||||
}
|
}
|
||||||
|
|
||||||
console.info('Building against Electron', vars.electronVersion)
|
console.info('Building against Electron', vars.electronVersion)
|
||||||
|
@ -11,4 +11,4 @@ builder({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
publish: 'onTag',
|
publish: 'onTag',
|
||||||
})
|
}).catch(() => process.exit(1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user