We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad984cc commit 6692715Copy full SHA for 6692715
1 file changed
.github/workflows/sentry-release.yml
@@ -0,0 +1,31 @@
1
+name: Sentry Release
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # change if you deploy from a different branch
7
8
+jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v4
14
15
+ - name: Set up Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: "18"
19
20
+ - name: Install Sentry CLI
21
+ run: npm install -g @sentry/cli
22
23
+ - name: Create Sentry release
24
+ run: |
25
+ sentry-cli releases new aiot@0.1
26
+ sentry-cli releases set-commits aiot@0.1 --auto
27
+ sentry-cli releases finalize aiot@0.1
28
+ env:
29
+ SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
30
+ SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
31
+ SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
0 commit comments