diff --git a/dist/index.js b/dist/index.js index 85f1e1a8..57e9146a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -99880,6 +99880,8 @@ const telemetry_1 = __nccwpck_require__(12417); Sentry.setTag('sourcemaps', sourcemapPaths.length > 0); Sentry.setTag('inject', inject); if (sourcemapPaths.length) { + const ext = options.getSourcemapExtensions(); + Sentry.setTag('sourcemaps-ext', ext.length ? ext.join(',') : 'default'); if (inject) { yield (0, telemetry_1.traceStep)('inject-debug-ids', () => __awaiter(void 0, void 0, void 0, function* () { core.debug(`Injecting Debug IDs`); @@ -99891,7 +99893,7 @@ const telemetry_1 = __nccwpck_require__(12417); core.debug(`Adding sourcemaps`); const sourceMapsOptions = { include: sourcemaps, - ext: options.getSourcemapExtensions(), + ext, dist, stripPrefix, stripCommonPrefix, diff --git a/src/main.ts b/src/main.ts index fbe3dd6f..68a3bd1f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -80,6 +80,9 @@ withTelemetry( Sentry.setTag('inject', inject); if (sourcemapPaths.length) { + const ext = options.getSourcemapExtensions(); + Sentry.setTag('sourcemaps-ext', ext.length ? ext.join(',') : 'default'); + if (inject) { await traceStep('inject-debug-ids', async () => { core.debug(`Injecting Debug IDs`); @@ -92,7 +95,7 @@ withTelemetry( core.debug(`Adding sourcemaps`); const sourceMapsOptions: SentryCliUploadSourceMapsOptions = { include: sourcemaps, - ext: options.getSourcemapExtensions(), + ext, dist, stripPrefix, stripCommonPrefix,