diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bea5b2b..f58d667 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -115,5 +115,6 @@ jobs: - name: Upload to Sentry env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_RELEASE: "is.giorgio.app.parousia@$(grep '^version:' pubspec.yaml | awk '{print $2}')" SENTRY_DIST: ${{ github.run_number }} run: dart run sentry_dart_plugin diff --git a/ios/ci_scripts/ci_post_xcodebuild.sh b/ios/ci_scripts/ci_post_xcodebuild.sh index 46977d4..f31f99d 100755 --- a/ios/ci_scripts/ci_post_xcodebuild.sh +++ b/ios/ci_scripts/ci_post_xcodebuild.sh @@ -11,6 +11,7 @@ export PATH="$PATH:$HOME/flutter/bin" # https://docs.sentry.io/platforms/flutter/configuration/options/#dist # The dist parameter is used to separate different versions of the app in Sentry. +export SENTRY_RELEASE="is.giorgio.app.parousia@$(grep '^version:' pubspec.yaml | awk '{print $2}')" export SENTRY_DIST="$CI_BUILD_NUMBER" # Run Sentry Dart plugin to upload source maps and debug symbols to Sentry.