Skip to content

Commit

Permalink
Add Github Action to add a Sentry release
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikvl87 committed Sep 27, 2024
1 parent feacfdf commit 69657fd
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/sentry-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Sentry release

on:
workflow_dispatch:
branches:
- sentry
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
# SENTRY_URL: https://sentry.io/
with:
environment: production
version: ${{ github.ref }}

0 comments on commit 69657fd

Please sign in to comment.