Skip to content

docs(react-native): Document SENTRY_RELEASE and SENTRY_DIST env var support - #17546

Merged
antonis merged 4 commits into
masterfrom
antonis/docs/sentry-release-dist-env-vars
Apr 30, 2026
Merged

docs(react-native): Document SENTRY_RELEASE and SENTRY_DIST env var support#17546
antonis merged 4 commits into
masterfrom
antonis/docs/sentry-release-dist-env-vars

Conversation

@antonis

@antonis antonis commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Documents the SENTRY_RELEASE and SENTRY_DIST build-time environment variable overrides for sentry.options.json in the app-start-error-capture guide.

⚠️ Based on #17540

Changes:

  • Added "Setting Release and Distribution" env var usage with CLI example
  • Updated EAS Build profiles example to include SENTRY_RELEASE and SENTRY_DIST

⚠️ Should be merged after getsentry/sentry-react-native#6070 ships

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.)
  • Other deadline
  • None: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

antonis and others added 3 commits April 29, 2026 14:29
Rewrite the Options Merging alert to explain that pre-JS crashes use
only sentry.options.json values, not JS overrides. Add a Setting
Release and Distribution section with guidance on keeping native and
JS release values aligned via SENTRY_RELEASE/SENTRY_DIST env vars.

Co-Authored-By: Claude <noreply@anthropic.com>
Remove env var override content that depends on unreleased SDK changes.
This will be added in a follow-up PR.

Co-Authored-By: Claude <noreply@anthropic.com>
…upport for sentry.options.json

Documents the build-time env var override for release and dist in the
app-start-error-capture guide, including the EAS Build example.

Depends on getsentry/sentry-react-native#6069

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Apr 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Apr 30, 2026 2:45pm
sentry-docs Ready Ready Preview, Comment Apr 30, 2026 2:45pm

Request Review

@codeowner-assignment
codeowner-assignment Bot requested a review from a team April 29, 2026 15:09
@antonis
antonis changed the base branch from master to antonis/docs/clarify-release-alignment-native-init April 29, 2026 15:10
@antonis
antonis requested review from alwx and lucas-zimerman April 29, 2026 15:29
@antonis
antonis marked this pull request as ready for review April 29, 2026 15:29

@lucas-zimerman lucas-zimerman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Base automatically changed from antonis/docs/clarify-release-alignment-native-init to master April 30, 2026 14:33
@antonis
antonis enabled auto-merge (squash) April 30, 2026 14:34
@antonis
antonis merged commit 76a25db into master Apr 30, 2026
18 checks passed
@antonis
antonis deleted the antonis/docs/sentry-release-dist-env-vars branch April 30, 2026 14:50
coolguyzone pushed a commit that referenced this pull request May 1, 2026
…upport (#17546)

## DESCRIBE YOUR PR

Documents the `SENTRY_RELEASE` and `SENTRY_DIST` build-time environment
variable overrides for `sentry.options.json` in the
app-start-error-capture guide.

⚠️ Based on #17540

**Changes:**
- Added "Setting Release and Distribution" env var usage with CLI
example
- Updated EAS Build profiles example to include `SENTRY_RELEASE` and
`SENTRY_DIST`

⚠️ Should be merged after getsentry/sentry-react-native#6070  ships

## IS YOUR CHANGE URGENT?

- [ ] Urgent deadline (GA date, etc.)
- [ ] Other deadline
- [x] None: Not urgent, can wait up to 1 week+

## PRE-MERGE CHECKLIST

- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)

---------

Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot locked and limited conversation to collaborators May 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants