getsentry / action-release

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

More examples #13

Open jensenbox opened 4 years ago

jensenbox commented 4 years ago

I think it would be great to show more samples of how to transition from the cli usage over to the action usage.

Especially the use case where you open a release and finalize it.

        run: |
          export SENTRY_RELEASE=$(sentry-cli releases propose-version)
          sentry-cli releases new -p $SENTRY_PROJECT $SENTRY_RELEASE
          sentry-cli releases set-commits --auto $SENTRY_RELEASE
          echo "::set-env name=SENTRY_RELEASE::$SENTRY_RELEASE"

and

      - name: Sentry deploy
        run: |
          sentry-cli releases finalize $SENTRY_RELEASE
          sentry-cli releases deploys $SENTRY_RELEASE new -e $SENTRY_DEPLOY_ENVIRONMENT
nogweii commented 3 years ago

Another example that would be useful is the fact that you can set SENTRY_URL as an environment variable to point the tool at on-prem instances of Sentry.

kimegede commented 3 years ago

Another example that would be useful is the fact that you can set SENTRY_URL as an environment variable to point the tool at on-prem instances of Sentry.

@nogweii - I have created an issue for that specifically. #76