Skip to content

dist: add xtask command for bumping rustup-init.sh's version - #5298

Open
rami3l wants to merge 1 commit into
rust-lang:mainfrom
rami3l:feat/bump-init-sh-xtask
Open

rami3l wants to merge 1 commit into
rust-lang:mainfrom
rami3l:feat/bump-init-sh-xtask

Conversation

@rami3l

@rami3l rami3l commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Based on and replaces #5201; adjusted a bit for better readability as well (esp. function-to-method conversions).

With this patch, cargo xtask bump-init-sh upstream/$BRANCH aligns rustup-init.sh's contents and test snapshots with the Git metadata of the provided $BRANCH.

I could have modified the original, but the request was rejected due to maintainer_can_modify: false.

Verification

Tested locally; seems to be working alright.

@rami3l
rami3l force-pushed the feat/bump-init-sh-xtask branch 2 times, most recently from 34c0f21 to fd0bd04 Compare December 3, 2026 16:13
@rami3l
rami3l force-pushed the feat/bump-init-sh-xtask branch 5 times, most recently from 5367ec2 to c4a5a14 Compare December 3, 2026 16:44
Comment thread Cargo.lock Resolved
Comment thread xtask/src/main.rs Resolved
Co-authored-by: rami3l <rami3l@outlook.com>
@rami3l
rami3l force-pushed the feat/bump-init-sh-xtask branch from c4a5a14 to 974eaed Compare December 4, 2026 09:31
@rustbot

rustbot commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

This branch has not been deployed

No deployments
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.

4 participants