Skip to content

Commit

Permalink
notify sentry of new release
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Dec 22, 2023
1 parent 8a3607d commit 860173a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/associate_commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ jobs:
- name: get release version
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: echo "HEROKU_RELEASE_VERSION=`heroku config:get HEROKU_RELEASE_VERSION -a chi-councilmatic-production`-chi-councilmatic-production" >> "$GITHUB_ENV"
run: echo "HEROKU_RELEASE=`heroku config:get HEROKU_RELEASE_VERSION -a chi-councilmatic-production`-chi-councilmatic-production" >> "$GITHUB_ENV"
- name: install sentry-cli
run: pip install sentry-cli
- name: inform sentry about release
env:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: sentry-cli releases new -p chicago-councilmatic $HEROKU_RELEASE_VERSION
run: |
sentry-cli releases new -p chicago-councilmatic $HEROKU_RELEASE
sentry-cli releases set-commits $HEROKU_RELEASE
sentry-cli releases finalize $HEROKU_RELEASE

0 comments on commit 860173a

Please sign in to comment.