Skip to content

Commit 927923c

Browse files
Fix sentry-cli syntax
1 parent a00a5ab commit 927923c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ jobs:
6868
env:
6969
SENTRY_AUTH_TOKEN: ${{ secrets.sentry_auth_token }}
7070
run: |
71-
SENTRY_CMD="yarn run sentry-cli --org hypothesis --project client"
72-
$SENTRY_CMD releases new $STAGING_VERSION
73-
$SENTRY_CMD sourcemaps upload --release $STAGING_VERSION --url-prefix $CDN_URL/$STAGING_VERSION/build/scripts/ build/scripts
74-
$SENTRY_CMD releases finalize $STAGING_VERSION
71+
SENTRY_CMD="yarn run sentry-cli releases --org hypothesis --project client"
72+
$SENTRY_CMD new $STAGING_VERSION
73+
yarn run sentry-cli sourcemaps upload --org hypothesis --project client --release $STAGING_VERSION --url-prefix $CDN_URL/$STAGING_VERSION/build/scripts/ build/scripts
74+
$SENTRY_CMD finalize $STAGING_VERSION
7575
- name: Deploy to S3
7676
run: scripts/deploy-to-s3.js --bucket ${{ env.S3_BUCKET }} --tag staging --no-cache-entry
7777

@@ -119,10 +119,10 @@ jobs:
119119
env:
120120
SENTRY_AUTH_TOKEN: ${{ secrets.sentry_auth_token }}
121121
run: |
122-
SENTRY_CMD="yarn run sentry-cli --org hypothesis --project client"
123-
$SENTRY_CMD releases new $NEW_VERSION
124-
$SENTRY_CMD sourcemaps upload --release $NEW_VERSION --url-prefix $CDN_URL/$NEW_VERSION/build/scripts/ build/scripts
125-
$SENTRY_CMD releases finalize $NEW_VERSION
122+
SENTRY_CMD="yarn run sentry-cli releases --org hypothesis --project client"
123+
$SENTRY_CMD new $NEW_VERSION
124+
yarn run sentry-cli sourcemaps upload --org hypothesis --project client --release $NEW_VERSION --url-prefix $CDN_URL/$NEW_VERSION/build/scripts/ build/scripts
125+
$SENTRY_CMD finalize $NEW_VERSION
126126
- name: Create GitHub release
127127
run: scripts/create-github-release.js v$NEW_VERSION
128128
env:

0 commit comments

Comments
 (0)