Skip to content

build(npm): Set publishConfig.tag=v8.28 on 8.28.x packages - #7047

Merged
alwx merged 1 commit into
release/8.28from
alwx/bugfix/8.28-npm-dist-tag
Nov 17, 2026
Merged

alwx merged 1 commit into
release/8.28from
alwx/bugfix/8.28-npm-dist-tag

Conversation

@alwx

@alwx alwx commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix

📜 Description

Add "tag": "v8.28" under publishConfig in @sentry/react-native and @sentry/expo-upload-sourcemaps. When no --tag is given on the command line, npm uses this tag at publish time.

💡 Motivation and Context

The 8.28.1 publish failed. npm 11 does not move the latest tag to a lower version (latest is now 8.36.0): Cannot implicitly apply the "latest" tag ... You must specify a tag using --tag. This is the same fix as #6454 on release/8.14.

Failed run: https://github.com/getsentry/publish/actions/runs/44056049883/job/133945600807

💚 How did you test it?

I ran npm publish --dry-run on a copy of expo-upload-sourcemaps with version 8.28.1. Without the tag, I get the CI error. With the tag, the check passes.

📝 Checklist

  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • No breaking changes.

🔮 Next steps

Close getsentry/publish#10459, delete release/8.28.1, and run prepare for 8.28.1 again from release/8.28.

npm 11 refuses to implicitly move the `latest` dist-tag to a lower
version. Publishing 8.28.1 while `latest` is 8.36.0 failed with
"Cannot implicitly apply the latest tag" for both @sentry/react-native
and @sentry/expo-upload-sourcemaps.

Set `publishConfig.tag` to `v8.28` in both publishable packages. npm
reads it at publish time when no --tag is passed, so 8.28.x backports
go to the `v8.28` dist-tag and `latest` stays on the newest release.
This is the same fix that release/8.14 uses (#6454).
@github-actions

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

⚪ None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • build(npm): Set publishConfig.tag=v8.28 on 8.28.x packages by alwx in #7047
  • chore(deps): update Cocoa SDK to v9.29.3 by antonis and claude in #7046

🤖 This preview updates automatically when you update the PR.

@github-actions

Copy link
Copy Markdown
Contributor
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against 1262c30

@alwx
alwx marked this pull request as ready for review November 17, 2026 09:41
@alwx
alwx merged commit f631bed into release/8.28 Nov 17, 2026
46 of 61 checks passed
@alwx
alwx deleted the alwx/bugfix/8.28-npm-dist-tag branch November 17, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants