Skip to content

Commit 227efcb

Browse files
committed
create release on sentry so we can monitor for regressions
1 parent e7d009f commit 227efcb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,16 @@ jobs:
189189
git commit -m "Update $VERSION_FILE for v${{ steps.version.outputs.current-version }}"
190190
git push origin main
191191
192+
- name: Create Sentry release
193+
uses: sentry/action-release@v2
194+
env:
195+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
196+
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
197+
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
198+
with:
199+
release: ${{ steps.version.outputs.current-version }}
200+
environment: ${{ contains(steps.version.outputs.current-version, '-alpha') && 'alpha' || contains(steps.version.outputs.current-version, '-beta') && 'beta' || contains(steps.version.outputs.current-version, '-rc') && 'rc' || 'latest' }}
201+
192202
- name: Report job failure to Discord
193203
if: failure()
194204
env:

0 commit comments

Comments
 (0)