Skip to content

Commit 89661d2

Browse files
authored
Add proguard release association (#7488)
1 parent a030ad9 commit 89661d2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/docs/product/cli/dif.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,18 @@ sentry-cli upload-proguard \
288288
app/build/outputs/mapping/{BuildVariant}/mapping.txt
289289
```
290290

291+
Additionally, you can associate the proguard mapping file to a specific release:
292+
293+
```bash
294+
# Additionally create an association to the release my.app.id@1.0.0+1
295+
sentry-cli upload-proguard \
296+
--uuid A_VALID_UUID \
297+
app/build/outputs/mapping/{BuildVariant}/mapping.txt \
298+
--app-id my.app.id \
299+
--version 1.0.0 \
300+
--version-code 1
301+
```
302+
291303
After the upload, Sentry deobfuscates future events.
292304
To make sure that it worked, you can check _Project Settings > ProGuard_ and see if the upload mapping files are listed.
293305

0 commit comments

Comments
 (0)