How to use the @sentry/cli/js/helper.execute function in @sentry/cli

To help you get started, we’ve selected a few @sentry/cli examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github foxfolio / foxfolio-desktop / internals / scripts / CreateSentryRelease.js View on Github external
(async function() {
  const cli = new SentryCli();

  console.log(`Creating release ${release}`);
  console.log(await cli.releases.new(release));

  console.log('Uploading source maps');
  console.log(await cli.releases.uploadSourceMaps(release, options));

  console.log('Setting commits');
  console.log(await helper.execute(['releases', 'set-commits', '--auto', release]));

  console.log('Finalizing release');
  console.log(await cli.releases.finalize(release));

  console.log('Release finalized');
})().catch(error => {
  console.error(error);

@sentry/cli

A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/

BSD-3-Clause
Latest version published 26 days ago

Package Health Score

98 / 100
Full package analysis

Popular @sentry/cli functions

Similar packages