-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94abc73
commit 4740cea
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
name: New Sentry Release | ||
on: | ||
pull_request: | ||
# revert develop here | ||
branches: [main, develop] | ||
branches: [main] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.head.ref == 'feat_sentry_release_yml' | ||
steps: | ||
- name: Checkout release | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: feat_sentry_release_yml | ||
ref: release | ||
- name: Sentry Release | ||
uses: getsentry/action-release@v1.7.0 | ||
env: | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | ||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | ||
with: | ||
# and revert me too | ||
environment: localhost | ||
environment: production | ||
# uses the release PR title as a version | ||
version: ${{ github.event.pull_request.title }} | ||
# and me too | ||
# This can safely be removed after one succesful release - previous release hash won't be found in repo as we're squashing this | ||
ignore_missing: true | ||
|