Repository navigation
[release/dnup] Cut over dotnetup bootstrap to versioned signed daily aka.ms link - #55154
Conversation
Repoint eng/dotnetup-shared.{ps1,sh} and the dotnetup README download snippets off the legacy raw-GitHub vanity link (aka.ms/dotnetup/get-dotnetup.*) to the signed, version-stable https://aka.ms/dotnet/dotnetup/daily/get-dotnetup.{ps1,sh} link. Document a save-then-run PowerShell pattern so the Authenticode signature is actually verified (iwr | iex bypasses execution policy).
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Pull request overview
This PR updates the dotnetup bootstrap scripts and documentation to use the new version-stable, signed daily aka.ms endpoints for get-dotnetup.{ps1,sh}, moving consumers off the legacy raw-GitHub vanity links.
Changes:
- Repointed
eng/dotnetup-shared.{sh,ps1}fallback download URLs tohttps://aka.ms/dotnet/dotnetup/daily/get-dotnetup.*. - Updated the dotnetup README install snippets to use the new URLs.
- Added README guidance for Windows to “save then run” so PowerShell Authenticode signature verification can apply (with the one-liner kept as an option).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| eng/dotnetup-shared.sh | Updates the fallback getter URL to the new daily aka.ms endpoint. |
| eng/dotnetup-shared.ps1 | Updates the fallback getter URL to the new daily aka.ms endpoint. |
| documentation/general/dotnetup/README.md | Updates download snippets and documents signature-verifiable PowerShell install flow. |
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Per PR feedback, use the shorter https://aka.ms/dotnetup/get-dotnetup.* vanity redirects in the getting started instructions while keeping the versioned signed daily link for the CI bootstrap scripts. Co-authored-by: Copilot <[email protected]>
|
@dsplaisted Do you own the Probably shouldn't merge this PR until then since it tells users to verify the signature on the link that doesnt provide a signature. |
|
@baronfel had permission, ty! |
Part 3 of migrating dotnetup bootstrap scripts to versioned, signed daily aka.ms links, targeting
release/dnup. Tracks #54990. Companion to themainPR #55153.Codeflow can handle the aka.ms link part but not the readme.md update so I opened this PR as well.
README: make the signature actually verifiable
iwr | iexruns the script as an in-memory expression and bypasses execution-policy signature checks entirely. The README now documents a save-then-run PowerShell pattern so the Authenticode signature is honored, keeping the one-liner as a convenience alternative.Not included
aka.ms/dotnetup/get-dotnetup.*is an aka.ms infra change, not a repo change.