gulp-sentry-release icon indicating copy to clipboard operation
gulp-sentry-release copied to clipboard

Change domain default to `~`

Open sodoku opened this issue 7 years ago • 2 comments

After this plugin wasn't working for me, I figured out that the default for domains (sentry calls this url prefix) should be ~. See https://github.com/getsentry/sentry-cli/blob/master/docs/releases.rst#upload-source-maps

sodoku avatar Feb 12 '18 13:02 sodoku

Yes please merge this! I was going to implement it in my own (and I will) but this is the only thing breaking for me with my implementation.

AmberWilkie avatar Apr 17 '19 14:04 AmberWilkie

For everyone that comes after, you can add DOMAIN: '~' to your implementation and it will work - you don't need to fork the repo for this. My implementation looks like this:

  const sentryRelease = plugins.sentryRelease({
    API_URL: sentryUrl,
    API_KEY: process.env.SENTRY_API_KEY,
    version: versionString,
    DOMAIN: '~'
  });

AmberWilkie avatar Apr 17 '19 14:04 AmberWilkie