Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions includes/size-analysis/upload-cli-android.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

4. Invoke the following CLI command to trigger the upload:

```bash
sentry-cli build upload app.aab \
--org your-org \
--project your-project \
--build-configuration Release
```
```bash
sentry-cli build upload app.aab \
--org your-org \
--project your-project \
--build-configuration Release
```

5. After an upload has successfully processed, confirm the metadata is correct in the Sentry UI

![Upload metadata =400x](./images/android-metadata.png)
![Upload metadata =400x](./images/android-metadata.png)
14 changes: 7 additions & 7 deletions includes/size-analysis/upload-cli-ios.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

4. Invoke the following CLI command to trigger the upload:

```bash
sentry-cli build upload app.xcarchive \
--org your-org \
--project your-project \
--build-configuration Release
```
```bash
sentry-cli build upload app.xcarchive \
--org your-org \
--project your-project \
--build-configuration Release
```

5. After an upload has successfully processed, confirm the metadata is correct in the Sentry UI

![Upload metadata =400x](./images/ios-metadata.png)
![Upload metadata =400x](./images/ios-metadata.png)
2 changes: 1 addition & 1 deletion includes/size-analysis/upload-fastlane.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The Fastlane plugin can be used to upload XCArchive or IPA builds to Sentry. On

4. After an upload has successfully processed, confirm the metadata is correct in the Sentry UI

![Upload metadata =400x](./images/ios-metadata.png)
![Upload metadata =400x](./images/ios-metadata.png)

The Fastlane plugin automatically detects all build metadata. If needed, the metadata values can be overridden by passing parameters to `sentry_upload_build`:

Expand Down
14 changes: 7 additions & 7 deletions includes/size-analysis/upload-gradle.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
The Gradle plugin automatically detects build metadata from your git repository. On GitHub Actions, all metadata is automatically detected. On other CI systems, you may need to manually set some values using the [`vcsInfo`](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/dsl/VcsInfo) extension.
The Gradle plugin automatically detects build metadata from your git repository. On GitHub Actions, all metadata is automatically detected. On other CI systems, you may need to manually set some values using the `vcsInfo` extension.

1. Configure the [Sentry Android Gradle plugin](/platforms/android/configuration/gradle/) with at least version `6.0.0-beta1`

2. Set the auth token as an environment variable to be used when running your release build.

<OrgAuthTokenNote />
<OrgAuthTokenNote />

```bash
export SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
```
```bash
export SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
```

3. Enable uploading for size analysis for CI builds.

Expand Down Expand Up @@ -40,11 +40,11 @@ export SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___

5. After an upload has successfully processed, confirm the metadata is correct in the Sentry UI

![Upload metadata =400x](./images/android-metadata.png)
![Upload metadata =400x](./images/android-metadata.png)

### Overriding Metadata

The Gradle plugin automatically detects build metadata from your git repository. On GitHub Actions, all metadata is automatically detected. On other CI systems, you may need to manually set some values using the (`vcsInfo`)[https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/dsl/VcsInfo] extension.
The Gradle plugin automatically detects build metadata from your git repository. On GitHub Actions, all metadata is automatically detected. On other CI systems, you may need to manually set some values using the `vcsInfo` extension.

Configure overrides in your Gradle build configuration:

Expand Down
Loading