|
1 | 1 | # Example .env file for empower_flutter |
2 | 2 | # Copy this file to .env and fill in your actual values |
3 | 3 |
|
| 4 | +# ======================================== |
| 5 | +# Sentry Core Configuration |
| 6 | +# ======================================== |
4 | 7 | SENTRY_AUTH_TOKEN=your_auth_token |
5 | 8 | SENTRY_DSN=your_dsn |
6 | | -SENTRY_RELEASE=your_release_version_or_git_sha |
| 9 | +SENTRY_RELEASE=empower_flutter@9.14.0+1 # Format: appname@version+build |
7 | 10 | SENTRY_ENVIRONMENT=your_environment |
| 11 | + |
| 12 | +# ======================================== |
| 13 | +# Sentry Organization & Project |
| 14 | +# ======================================== |
| 15 | +SENTRY_ORG=your-org-slug |
| 16 | +SENTRY_PROJECT=your-project-slug |
| 17 | + |
| 18 | +# ======================================== |
| 19 | +# Optional: Size Analysis |
| 20 | +# ======================================== |
| 21 | +# Enable automatic build size analysis uploads during release builds |
| 22 | +# When enabled, APK/AAB files are automatically uploaded to Sentry |
| 23 | +# for size tracking and optimization insights |
| 24 | +# Requires sentry-cli to be installed (brew install sentry-cli) |
| 25 | +# Set to 'false' or comment out to disable (useful for faster local builds) |
| 26 | +SENTRY_SIZE_ANALYSIS_ENABLED=true |
| 27 | + |
| 28 | +# ======================================== |
| 29 | +# Optional: CI/CD Metadata |
| 30 | +# ======================================== |
| 31 | +# These are typically auto-detected in CI environments |
| 32 | +# CI_COMMIT_SHA=abc123 |
| 33 | +# CI_MERGE_REQUEST_DIFF_BASE_SHA=def456 |
| 34 | +# CI_COMMIT_REF_NAME=feature-branch |
| 35 | +# GITHUB_PR_NUMBER=42 |
0 commit comments