Add sentry release step to ci (#35911)
This should allow us to associate sha's from crashes and generate links to github source in sentry. Release Notes: - N/A
This commit is contained in:
parent
4c5058c077
commit
c91fb4caf4
2 changed files with 18 additions and 0 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -851,3 +851,12 @@ jobs:
|
||||||
run: gh release edit "$GITHUB_REF_NAME" --draft=false
|
run: gh release edit "$GITHUB_REF_NAME" --draft=false
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Create Sentry release
|
||||||
|
uses: getsentry/action-release@526942b68292201ac6bbb99b9a0747d4abee354c # v3
|
||||||
|
env:
|
||||||
|
SENTRY_ORG: zed-dev
|
||||||
|
SENTRY_PROJECT: zed
|
||||||
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
|
with:
|
||||||
|
environment: production
|
||||||
|
|
9
.github/workflows/release_nightly.yml
vendored
9
.github/workflows/release_nightly.yml
vendored
|
@ -316,3 +316,12 @@ jobs:
|
||||||
git config user.email github-actions@github.com
|
git config user.email github-actions@github.com
|
||||||
git tag -f nightly
|
git tag -f nightly
|
||||||
git push origin nightly --force
|
git push origin nightly --force
|
||||||
|
|
||||||
|
- name: Create Sentry release
|
||||||
|
uses: getsentry/action-release@526942b68292201ac6bbb99b9a0747d4abee354c # v3
|
||||||
|
env:
|
||||||
|
SENTRY_ORG: zed-dev
|
||||||
|
SENTRY_PROJECT: zed
|
||||||
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
|
with:
|
||||||
|
environment: production
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue