Created
November 23, 2018 12:44
-
-
Save mathieuletyrant/8c0a4d3c14766df0a18e95b506af81d2 to your computer and use it in GitHub Desktop.
circleCI config with Sentry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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