1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-07-19 09:59:54 +00:00
Files
.github
.vscode
app
build
docs
extras
locale
patches
scripts
build-docs.js
build-linux.js
build-macos.js
build-modules.js
build-native.js
build-typings.js
build-windows.js
generate-icon-metadata.js
i18n-extract.js
install-deps.js
prepackage-plugins.js
publish-plugins.js
sentry-upload.js
vars.js
snap
tabby-community-color-schemes
tabby-core
tabby-electron
tabby-linkifier
tabby-local
tabby-plugin-manager
tabby-serial
tabby-settings
tabby-ssh
tabby-telnet
tabby-terminal
tabby-uac
tabby-web
tabby-web-demo
web
.all-contributorsrc
.eslintrc.yml
.gitignore
.mergify.yml
.pug-lintrc.js
CODE_OF_CONDUCT.md
HACKING.md
LICENSE
README.it-IT.md
README.ko-KR.md
README.md
README.ru-RU.md
README.zh-CN.md
appveyor.yml
electron-builder.yml
firebase.json
package.json
tsconfig.json
typedoc.js
webpack.config.js
webpack.plugin.config.js
yarn.lock
tabby/scripts/sentry-upload.js
Eugene Pankov 68e1db040a bumped node-pty
2021-08-18 23:56:20 +02:00

25 lines
949 B
JavaScript
Executable File

#!/usr/bin/env node
const sh = require('shelljs')
const vars = require('./vars')
const sentryCli = process.platform === 'win32' ? 'node_modules\\.bin\\sentry-cli.cmd' : 'sentry-cli'
sh.exec(`${sentryCli} releases new ${vars.version}`)
if (process.platform === 'darwin') {
for (const path of [
'app/node_modules/@serialport/bindings/build/Release/bindings.node',
'app/node_modules/@tabby-gang/node-pty/build/Release/pty.node',
'app/node_modules/fontmanager-redux/build/Release/fontmanager.node',
'app/node_modules/macos-native-processlist/build/Release/native.node',
]) {
sh.exec('dsymutil ' + path)
}
}
sh.exec(`${sentryCli} upload-dif app/node_modules`)
sh.exec(`${sentryCli} releases set-commits --auto ${vars.version}`)
for (const p of vars.builtinPlugins) {
sh.exec(`${sentryCli} releases files ${vars.version} upload-sourcemaps ${p}/dist -u ${p}/dist/ -d ${process.platform}-${p}`)
}