Skip to content

Commit

Permalink
Merge pull request #27 from celenium-io/fix/sentry-release
Browse files Browse the repository at this point in the history
Split release on 2 jobs
  • Loading branch information
aopoltorzhicky authored Nov 3, 2023
2 parents dcaf214 + c6d8663 commit dc6c247
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ jobs:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true

sentry:
name: Sentry release
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Set up environment
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}

- name: Create Sentry release
uses: getsentry/action-release@v1
env:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ jobs:
prerelease: false
automatic_release_tag: "latest"

sentry:
name: Sentry release
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Set up environment
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}

- name: Create Sentry release
uses: getsentry/action-release@v1
env:
Expand All @@ -33,3 +45,4 @@ jobs:
SENTRY_URL: "${{ secrets.SENTRY_URL }}"
with:
environment: production

0 comments on commit dc6c247

Please sign in to comment.