Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/sentry-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
# Tag names are bare semver (e.g., "0.24.0", no "v" prefix),
# matching the npm package version, Sentry.init() release, and sourcemap uploads.
# matching both the npm package version and Sentry release version.
VERSION: ${{ github.event.release.tag_name || inputs.version }}
steps:
- name: Setup Node.js
Expand All @@ -36,17 +36,17 @@ jobs:
run: npm install -g "sentry@${VERSION}"

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

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

- name: Finalize release
run: sentry release finalize "${VERSION}"
run: sentry release finalize "sentry/${VERSION}"

- name: Create deploy
run: sentry release deploy "${VERSION}" production
run: sentry release deploy "sentry/${VERSION}" production

- name: File issue on failure
if: failure()
Expand Down
Loading