Skip to content

Commit f715cd6

Browse files
committed
fix(ci): restore sentry/ org prefix and drop SENTRY_ORG from sentry-release workflow
The sentry/ prefix in 'sentry release create sentry/0.24.0' is the org slug, not a version prefix — parseReleaseArg splits it into org=sentry, version=0.24.0. Restoring it removes the need for SENTRY_ORG env var.
1 parent a0ded19 commit f715cd6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/sentry-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
env:
2525
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
2626
# Tag names are bare semver (e.g., "0.24.0", no "v" prefix),
27-
# matching the npm package version, Sentry.init() release, and sourcemap uploads.
27+
# matching both the npm package version and Sentry release version.
2828
VERSION: ${{ github.event.release.tag_name || inputs.version }}
2929
steps:
3030
- name: Setup Node.js
@@ -36,17 +36,17 @@ jobs:
3636
run: npm install -g "sentry@${VERSION}"
3737

3838
- name: Create release
39-
run: sentry release create "${VERSION}" --project cli
39+
run: sentry release create "sentry/${VERSION}" --project cli
4040

4141
- name: Set commits
4242
continue-on-error: true
43-
run: sentry release set-commits "${VERSION}" --auto
43+
run: sentry release set-commits "sentry/${VERSION}" --auto
4444

4545
- name: Finalize release
46-
run: sentry release finalize "${VERSION}"
46+
run: sentry release finalize "sentry/${VERSION}"
4747

4848
- name: Create deploy
49-
run: sentry release deploy "${VERSION}" production
49+
run: sentry release deploy "sentry/${VERSION}" production
5050

5151
- name: File issue on failure
5252
if: failure()

0 commit comments

Comments
 (0)