Sentry Deploy Integration
Prerequisites
-
Sentry CLI installed
-
SENTRY_AUTH_TOKEN configured
-
Build pipeline access
-
Source maps generated during build
Instructions
-
Create release using git SHA or semantic version with sentry-cli
-
Upload source maps from build output directory
-
Associate commits using sentry-cli releases set-commits --auto
-
Finalize the release to mark it complete
-
Deploy application to target environment
-
Notify Sentry of deployment with environment and timestamps
-
Enable session tracking for release health metrics
-
Configure environment-specific sample rates
-
Set up rollback tracking to record version changes
-
Use Sentry dashboard to compare releases and monitor health
Output
-
Releases created for each deployment
-
Source maps uploaded and linked
-
Deployment notifications sent
-
Release health metrics tracked
Error Handling
See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.
Examples
See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.
Resources
-
Sentry Releases
-
Release Health
Overview
Track deployments and releases in Sentry.