Skip to content

Commit

Permalink
Pass dist to uploadSourceMaps (getsentry/sentry-cli#1269)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Dec 12, 2022
1 parent 78ccf70 commit dfe953e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/bundler-plugin-core/src/sentry/releasePipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ export async function uploadSourceMaps(
// Since our internal include entries contain all top-level sourcemaps options,
// we only need to pass the include option here.
try {
await ctx.cli.releases.uploadSourceMaps(releaseName, { include: options.include });
await ctx.cli.releases.uploadSourceMaps(releaseName, {
include: options.include,
dist: options.dist,
});
} catch (e) {
ctx.hub.captureException(new Error("CLI Error: Uploading source maps failed"));
throw e;
Expand Down

0 comments on commit dfe953e

Please sign in to comment.