Skip to content

Commit

Permalink
chore(ci): Fixed misplaced sentry sourcemaps commands
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b committed Jan 24, 2025
1 parent fe752ce commit fbd6f3b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,8 @@ jobs:
sentry-cli releases new $VERSION
sentry-cli releases set-commits --auto $VERSION
sentry-cli releases deploys $VERSION new -e $ENVIRONMENT
sentry-cli releases files $VERSION upload-sourcemaps apps/api/dist \
--url-prefix "apps/api/dist" \
--validate \
--rewrite
sentry-cli sourcemaps inject dist
sentry-cli sourcemaps upload --release $VERSION -p $PROJECT dist
deploy-platform:
needs: release
Expand Down Expand Up @@ -270,8 +268,10 @@ jobs:
sentry-cli releases new $VERSION
sentry-cli releases set-commits --auto $VERSION
sentry-cli releases deploys $VERSION new -e $ENVIRONMENT
sentry-cli sourcemaps inject dist
sentry-cli sourcemaps upload --release $VERSION -p $PROJECT dist
sentry-cli releases files $VERSION upload-sourcemaps apps/platform/.next/static/chunks \
--url-prefix '~/_next' \
--validate \
--rewrite
deploy-web:
runs-on: ubuntu-latest
Expand Down

0 comments on commit fbd6f3b

Please sign in to comment.