Skip to content

Commit

Permalink
fix: align sentry release
Browse files Browse the repository at this point in the history
  • Loading branch information
inpt333 authored and borgoat committed Jan 3, 2025
1 parent d28f794 commit f52a2ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions ios/ci_scripts/ci_post_xcodebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f52a2ce

Please sign in to comment.