diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..f7b1a76b --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,21 @@ +name: Post-release + +on: + release: + types: [published] + # Can be manually dispatched too + workflow_dispatch: + +jobs: + postrelease: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - 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 }} + with: + environment: production