Skip to content

Commit

Permalink
feat: add sentry debug ids to sourcemaps
Browse files Browse the repository at this point in the history
Add debug id’s to the sourcemaps before pushing them to Sentry to make
the matching of sourcemaps easier
  • Loading branch information
mvantellingen committed Feb 12, 2025
1 parent bcffa42 commit 075a65b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ runs:
working-directory: ${{ inputs.working-directory }}
run: |
echo "${GITHUB_REPOSITORY}@${{ steps.setSHAs.outputs.base }}..${{ steps.setSHAs.outputs.head }}"
sentry-cli sourcemaps inject .
sentry-cli sourcemaps upload --release "${SENTRY_RELEASE}" ${{ inputs.sourcemap-flags }} --wait --validate .
sentry-cli releases new "${SENTRY_RELEASE}"
sentry-cli releases set-commits "${SENTRY_RELEASE}" --commit "${GITHUB_REPOSITORY}@${{ steps.setSHAs.outputs.base }}..${{ steps.setSHAs.outputs.head }}"
sentry-cli releases files "${SENTRY_RELEASE}" upload-sourcemaps ${{ inputs.sourcemap-flags }} --validate sourcemaps --wait .

0 comments on commit 075a65b

Please sign in to comment.