Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
icodesign committed Jan 2, 2025
1 parent 0697b04 commit 2ef01b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
run: pnpm install

- name: Create and publish versions
id: changesets
uses: changesets/action@v1
with:
commit: 'CI: Version Packages'
Expand All @@ -56,6 +57,7 @@ jobs:

# Add step to create Sentry release and inject source maps
- name: Sentry inject source maps
if: steps.changesets.outputs.hasChangesets == 'true'
run: |
# Get version from CLI package.json
CLI_VERSION=$(node -p "require('./apps/cli/package.json').version")
Expand All @@ -67,6 +69,7 @@ jobs:
sentry-cli sourcemaps inject ./apps/cli/dist
- name: Create Sentry release
if: steps.changesets.outputs.hasChangesets == 'true'
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
Expand Down

0 comments on commit 2ef01b3

Please sign in to comment.