Commit ae240b3
fix(cli): Normalize Linux ARM64 arch name for sentry-cli binary lookup
The JVM can report `os.arch` as `"arm64"` on some systems (e.g., Docker
on Apple Silicon), but the bundled binary is named `sentry-cli-Linux-aarch64`.
Normalize both ARM (`arm64`/`aarch64`) and x86 (`amd64`/`x86_64`) arch
names to match the bundled binary naming convention.
Fixes #1168
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 84c808f commit ae240b3
2 files changed
Lines changed: 26 additions & 1 deletion
File tree
- plugin-build/src
- main/kotlin/io/sentry/android/gradle
- test/kotlin/io/sentry/android/gradle
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
138 | 145 | | |
139 | 146 | | |
140 | 147 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
162 | 180 | | |
163 | 181 | | |
164 | 182 | | |
| |||
0 commit comments