diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 7e67de4a..3a3ffc6e 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -23,6 +23,18 @@ jobs: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: true + sentry: + name: Sentry release + runs-on: ubuntu-latest + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + steps: + - name: Check out the repo + uses: actions/checkout@v4 + + - name: Set up environment + run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} + - name: Create Sentry release uses: getsentry/action-release@v1 env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2494ba5..6d5032c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,18 @@ jobs: prerelease: false automatic_release_tag: "latest" + sentry: + name: Sentry release + runs-on: ubuntu-latest + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + steps: + - name: Check out the repo + uses: actions/checkout@v4 + + - name: Set up environment + run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} + - name: Create Sentry release uses: getsentry/action-release@v1 env: @@ -33,3 +45,4 @@ jobs: SENTRY_URL: "${{ secrets.SENTRY_URL }}" with: environment: production +