1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 14:07:01 +09:00
anytype-ts/electron/hook/afterpack.js
2023-08-05 14:19:47 +02:00

17 lines
No EOL
435 B
JavaScript

const SentryCli = require('@sentry/cli');
const cli = new SentryCli();
exports.default = async function (context) {
cli.releases.options = {
url: 'https://sentry.anytype.io',
authToken: process.env.SENTRY_AUTH_TOKEN,
logLevel: 'debug',
org: 'anytype',
project: 'desktop',
silent: false,
};
return await cli.releases.uploadSourceMaps(context.packager.appInfo.version, {
include: [ '../../dist/main.js.map' ],
});
};