Repository navigation
fix(cli): Drop head -n 1 from the wrangler wizard's release version - #2600
Merged
Merged
Conversation
sentry release propose-version now prints its hint on stderr when stdout is piped (#2594), so the generated scripts capture the version directly. Without the pipe, a failing propose-version no longer has its exit code hidden by head.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
BYK
approved these changes
Nov 30, 2026
BYK
enabled auto-merge
November 30, 2026 12:00
…ose-version # Conflicts: # packages/cli/src/lib/wizard/sourcemaps/tools/wrangler.ts # packages/cli/test/lib/wizard/sourcemaps/tools/wrangler.test.ts
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #2531
The wrangler source maps wizard wrote
$(sentry release propose-version | head -n 1)into the project's scripts, becausepropose-versionprinted a "Detected from ..." hint on stdout after the version. #2594 moved hints off piped stdout, so$(sentry release propose-version)now captures only the version. Withouthead, a failingpropose-versionno longer has its exit code hidden.Risk: the wizard port (#2529) and the hint fix ship together in cli 0.52. A project that keeps an older
sentrypackage installed (it declines the wizard's update prompt) would still capture the hint in the release version.via @BYK.
--
View Session [Sentry]