Socket
Book a DemoInstallSign in
Socket

gulp-sentry-release-manager

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-sentry-release-manager

Create Sentry Release with failure tolerance

0.0.6
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

gulp-sentry-release-manager Build status Code Climate Test Coverage

Usage

const gulp = require('gulp')
const createReleaseManager = require('gulp-sentry-release-manager')

const countries = ['ph']

countries.map(country => {
  const releaseManager = createReleaseManager({
    org: 'awesome',
    project: `project-${country}`,
    apiKey: 'xxx',
    version: '0.0.1',
    host: 'https://sentry.awesome.io'
  })

  gulp.task(`create-release-${country}`, releaseManager.create)

  gulp.task(`remove-release-${country}`, releaseManager.remove)

  gulp.task(`upload-${country}`, function() {
    // `base` is important, is relative to your CDN URL
    gulp.src('static/js/*.map', { base: 'static/' })
      .pipe(releaseManager.upload())
  })
})

gulp.task('default', ['create-release-ph'])

Options

  • host - host name of Sentry servers. Default = https://sentry.io.
  • org - organization slug (required)
  • project - project slug (required)
  • apiKey - api key with project:releases permission (required)
  • version - version need to be deployed (required)
  • ignoreConflict - ignore already exist errors. Default = true.
  • maxRetries - the number of retries when having a failure. Default = 5.
  • sourceMapBasePath - The base path of source maps. Default is ~/.

APIs

  • releaseManager.create - create the release.
  • releaseManager.remove - remove the release.
  • releaseManager.upload - upload source maps to the release.

Keywords

gulpplugin

FAQs

Package last updated on 29 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.