File tree Expand file tree Collapse file tree 2 files changed +22
-11
lines changed Expand file tree Collapse file tree 2 files changed +22
-11
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## Unreleased
4+
5+ ### Features
6+
7+ - Support for Debug ID ([ #374 ] ( https://github.com/getsentry/sentry-cordova/pull/374 ) )
8+
39## 1.4.1
410
511### Dependencies
Original file line number Diff line number Diff line change @@ -131,17 +131,22 @@ module.exports = function (ctx) {
131131 fs . writeFileSync ( projectRootIndexHtml , contents . replace ( regex , replaceWith ) ) ;
132132 }
133133
134- console . log ( `Uploading assets release: '${ release } ' path: ${ buildPath } ` ) ;
135- return sentryCli . releases
136- . new ( release )
137- . then ( ( ) =>
138- sentryCli . releases . uploadSourceMaps ( release , {
139- include : includes ,
140- ignore : ignore ,
141- rewrite : true ,
142- } )
143- )
144- . then ( ( ) => sentryCli . releases . finalize ( release ) ) ;
134+ console . log ( `Injecting Debug ID on release: '${ release } ' path: ${ buildPath } ` ) ;
135+ return sentryCli . execute ( [ 'sourcemaps' , 'inject' , buildPath ] )
136+ . then ( ( ) => {
137+ console . log ( `Uploading assets release: '${ release } ' path: ${ buildPath } ` ) ;
138+
139+ return sentryCli . releases
140+ . new ( release )
141+ . then ( ( ) =>
142+ sentryCli . releases . uploadSourceMaps ( release , {
143+ include : includes ,
144+ ignore : ignore ,
145+ rewrite : true ,
146+ } )
147+ )
148+ . then ( ( ) => sentryCli . releases . finalize ( release ) ) ;
149+ } ) ;
145150 } ) ;
146151 } ) ;
147152
You can’t perform that action at this time.
0 commit comments