Skip to content

Commit

Permalink
ci: fix sentry release name (might fix stacktraces)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoesbergen committed Jan 1, 2025
1 parent 4c5def0 commit 5f6b5bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
EOF
echo "ENV=prod" >> "$GITHUB_ENV"
echo "STACK=leaphy-webbased" >> "$GITHUB_ENV"
echo "SENTRY_RELEASE=webbased-${{ github.ref_name }}" >> "$GITHUB_ENV"
- name: Build application
env:
Expand Down
5 changes: 5 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ export default defineConfig({
project: "leaphy-webbased-svelte",
org: 'leaphy',
authToken: process.env.SENTRY_AUTH_TOKEN,
release: {
deploy: {
env: process.env.ENV,
}
}
})
],
resolve: {
Expand Down

0 comments on commit 5f6b5bf

Please sign in to comment.