Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add sentry release step to ci (#35911)

Julia Ryanc91fb4caf4c8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 928c47a4a74..3b70271e57f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -851,3 +851,12 @@ jobs:
run: gh release edit "$GITHUB_REF_NAME" --draft=false
env:
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
diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml
index ed9f4c84508..0cc6737a451 100644
--- a/.github/workflows/release_nightly.yml
+++ b/.github/workflows/release_nightly.yml
@@ -316,3 +316,12 @@ jobs:
git config user.email [email protected]
git tag -f nightly
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