Skip to content

Commit

Permalink
ci(github): set SENTRY_RELEASE with pubspec tag
Browse files Browse the repository at this point in the history
  • Loading branch information
borgoat committed Jan 3, 2025
1 parent f52a2ce commit 82312ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +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_RELEASE: "is.giorgio.app.parousia@${{ steps.pubspec_tag.outputs.tag_name }}"
SENTRY_DIST: ${{ github.run_number }}
run: dart run sentry_dart_plugin

0 comments on commit 82312ed

Please sign in to comment.