Skip to content

Instantly share code, notes, and snippets.

@mathieuletyrant
Created November 23, 2018 12:44
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathieuletyrant/8c0a4d3c14766df0a18e95b506af81d2 to your computer and use it in GitHub Desktop.
Save mathieuletyrant/8c0a4d3c14766df0a18e95b506af81d2 to your computer and use it in GitHub Desktop.
circleCI config with Sentry
# Release new release on sentry
sentry-release:
working_directory: ~/repo
docker:
- image: circleci/node:10.11
steps:
- checkout
- run:
name: Install Sentry cli
command: curl -sL <https://sentry.io/get-cli/> | bash
- run:
name: Deploy new release
command: |
sentry-cli releases -p ${SENTRY_PROJECT_NAME} new ${CIRCLE_SHA1}
sentry-cli releases -p ${SENTRY_PROJECT_NAME} set-commits --auto ${CIRCLE_SHA1}
sentry-cli releases -p ${SENTRY_PROJECT_NAME} finalize ${CIRCLE_SHA1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment