Skip to content

Commit

Permalink
ci: set sentry project details correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Harjot1Singh committed Apr 3, 2022
1 parent eca16f0 commit 74b67dd
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:

concurrency: release

env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}

jobs:
checks:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -74,8 +78,8 @@ jobs:
UPLOAD_KEYSTORE_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_PASSWORD }}
UPLOAD_KEYSTORE_KEY_ALIAS: ${{ secrets.UPLOAD_KEYSTORE_KEY_ALIAS }}
UPLOAD_KEYSTORE_KEY_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_KEY_PASSWORD }}
SENTRY_PROJECT: ${{ matrix.platform }}-app
SENTRY_RELEASE: ${{ matrix.platform }}-app@${{ needs.prepare.outputs.release-version }}
ENVFILE: ${{ matrix.envfile }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -126,9 +130,7 @@ jobs:
runs-on: ubuntu-20.04
needs: [prepare, build-release]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ matrix.env.SENTRY_PROJECT }}
SENTRY_PROJECT: ${{ matrix.platform }}-app
strategy:
fail-fast: false
matrix:
Expand All @@ -144,7 +146,7 @@ jobs:
- uses: getsentry/action-release@v1
with:
environment: next
version: ${{ matrix.platform }}-app@${{ needs.prepare.outputs.release-version }}
version: ${{ env.SENTRY_PROJECT }}@${{ needs.prepare.outputs.release-version }}

publish-github:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 74b67dd

Please sign in to comment.