From f52a2ce465cdf7c77b01da921d89d7ef2dae1649 Mon Sep 17 00:00:00 2001 From: inpt333 Date: Wed, 1 Jan 2025 19:30:56 +0100 Subject: [PATCH] fix: align sentry release --- .github/workflows/build.yaml | 1 + ios/ci_scripts/ci_post_xcodebuild.sh | 1 + 2 files changed, 2 insertions(+) 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.