Skip to content

Commit a7a3ca5

Browse files
committed
Update Sentry workflow to send version number for each release
1 parent b9645fe commit a7a3ca5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/sentry.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616

1717
- name: Build project
1818
run: npm run build
19+
20+
- name: Extract version from build/version.js
21+
id: get_version
22+
run: echo "MCP_VERSION=$(grep -oE "'[0-9]+\.[0-9]+\.[0-9]+'" build/version.js | tr -d "'")" >> $GITHUB_OUTPUT
23+
1924
- name: Create Sentry release
2025
uses: getsentry/action-release@v3
2126
env:
@@ -24,4 +29,5 @@ jobs:
2429
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
2530
with:
2631
environment: production
27-
sourcemaps: "./build"
32+
sourcemaps: "./build"
33+
version: ${{ steps.get_version.outputs.MCP_VERSION }}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## [v1.3.3] - 2025-05-04
4+
- Added Sentry opt-out functionality
5+
36
## [v1.3.1] - 2025-05-03
47
- Added Sentry integration for error reporting
58

0 commit comments

Comments
 (0)