getsentry / action-release

GitHub Action for creating a release on Sentry
Apache License 2.0
446 stars 53 forks source link

Creating deployment #194

Open ziggy6792 opened 5 months ago

ziggy6792 commented 5 months ago

If my release already exists and I just want to record a deployment should I use this?

It seems this may replace the release I want to record a deployment for?

I see that when releases are created from my dev environment loose information (like: git contributors) when I use the action to record a deployment to a new env (e.g: when my dev release goes to prod).

      - name: Create Sentry Deployment
        id: create-sentry-deployment
        uses: getsentry/action-release@v1
        env:
          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
          SENTRY_ORG: ${{ vars.SENTRY_ORG }}
          SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
        with:
          environment: <TARGET ENVIRONMENT>
          version: <SOME PRE-EXISTING RELEASE VERSION>