@@ -56,21 +56,25 @@ Sentry can display snippets of your code next to event stack traces. This featur
56
56
57
57
<OrgAuthTokenNote />
58
58
59
- ``` ruby {tabTitle:Current Fastlane plugin} {"onboardingOptions": {"source-context": "5"}}
59
+ ``` ruby {tabTitle:Current Fastlane plugin}
60
60
sentry_debug_files_upload(
61
61
auth_token: ' ___ORG_AUTH_TOKEN___' ,
62
62
org_slug: ' ___ORG_SLUG___' ,
63
63
project_slug: ' ___PROJECT_SLUG___' ,
64
+ # ___PRODUCT_OPTION_START___ source-context
64
65
include_sources: true , # Optional. For source context.
66
+ # ___PRODUCT_OPTION_END___ source-context
65
67
)
66
68
```
67
69
68
- ``` ruby {tabTitle:Fastlane plugin before 1.20.0} {"onboardingOptions": {"source-context": "5"}}
70
+ ``` ruby {tabTitle:Fastlane plugin before 1.20.0}
69
71
sentry_upload_dif(
70
72
auth_token: ' ___ORG_AUTH_TOKEN___' ,
71
73
org_slug: ' ___ORG_SLUG___' ,
72
74
project_slug: ' ___PROJECT_SLUG___' ,
75
+ # ___PRODUCT_OPTION_START___ source-context
73
76
include_sources: true , # Optional. For source context.
77
+ # ___PRODUCT_OPTION_END___ source-context
74
78
)
75
79
```
76
80
@@ -106,7 +110,7 @@ Another option is to use warnings, and then set `GCC_TREAT_WARNINGS_AS_ERRORS` t
106
110
107
111
<OrgAuthTokenNote />
108
112
109
- ``` bash {tabTitle:Warn on failures - nonblocking} {"onboardingOptions": {"source-context": "10"}}
113
+ ``` bash {tabTitle:Warn on failures - nonblocking}
110
114
if [[ " $( uname -m) " == arm64 ]]; then
111
115
export PATH=" /opt/homebrew/bin:$PATH "
112
116
fi
@@ -116,7 +120,9 @@ export SENTRY_ORG=___ORG_SLUG___
116
120
export SENTRY_PROJECT=___PROJECT_SLUG___
117
121
export SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
118
122
ERROR=$( sentry-cli debug-files upload \
123
+ # ___PRODUCT_OPTION_START___ source-context
119
124
--include-sources \
125
+ # ___PRODUCT_OPTION_END___ source-context
120
126
" $DWARF_DSYM_FOLDER_PATH " 2>&1 > /dev/null)
121
127
if [ ! $? -eq 0 ]; then
122
128
echo " warning: sentry-cli - $ERROR "
@@ -126,7 +132,7 @@ echo "warning: sentry-cli not installed, download from https://github.com/getsen
126
132
fi
127
133
```
128
134
129
- ``` bash {tabTitle:Error on failures - blocking} {"onboardingOptions": {"source-context": "10"}}
135
+ ``` bash {tabTitle:Error on failures - blocking}
130
136
if [[ " $( uname -m) " == arm64 ]]; then
131
137
export PATH=" /opt/homebrew/bin:$PATH "
132
138
fi
@@ -136,7 +142,9 @@ export SENTRY_ORG=___ORG_SLUG___
136
142
export SENTRY_PROJECT=___PROJECT_SLUG___
137
143
export SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
138
144
ERROR=$( sentry-cli debug-files upload \
145
+ # ___PRODUCT_OPTION_START___ source-context
139
146
--include-sources \
147
+ # ___PRODUCT_OPTION_END___ source-context
140
148
" $DWARF_DSYM_FOLDER_PATH " --force-foreground 2>&1 > /dev/null)
141
149
if [ ! $? -eq 0 ]; then
142
150
echo " error: sentry-cli - $ERROR "
0 commit comments