action-release
action-release copied to clipboard
More examples
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
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.
Another example that would be useful is the fact that you can set
SENTRY_URLas an environment variable to point the tool at on-prem instances of Sentry.
@nogweii - I have created an issue for that specifically. #76