Skip to content

Publish get-dotnetup scripts alongside dotnetup#17053

Merged
mmitche merged 1 commit into
mainfrom
nagilson-sign-get-dotnetup-script
Jun 26, 2026
Merged

Publish get-dotnetup scripts alongside dotnetup#17053
mmitche merged 1 commit into
mainfrom
nagilson-sign-get-dotnetup-script

Conversation

@nagilson

@nagilson nagilson commented Jun 25, 2026

Copy link
Copy Markdown
Member

The aka.ms links hosting scripts as they are today point to a raw github endpoint which is not sustainable practice and does not allow for signing of the scripts (which is needed to prevent them from being blocked by default on powershell.)

dotnet/sdk#54984 This PR adds the scripts to the published dotnetup output while the arcade change here will actually consume and ensure that those scripts also get published as aka.ms links using the same channel \daily\

The aka.ms links hosting scripts as they are today point to a raw github endpoint which is not sustainable practice and does not allow for signing of the scripts (which is needed to prevent them from being blocked by default on powershell.)

dotnet/sdk#54984 This PR adds the scripts to the published dotnetup output while the arcade change here will actually consume and ensure that those scripts also get published as aka.ms links using the same channel `\daily\`
Copilot AI review requested due to automatic review settings June 25, 2026 19:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Arcade’s feed publishing configuration so get-dotnetup bootstrap scripts (.ps1 / .sh, plus .sha512) are eligible for aka.ms “latest” link creation alongside existing dotnetup binaries, enabling signed, versioned script hosting instead of raw GitHub URLs.

Changes:

  • Extend DotnetupAkaMSCreateLinkPatterns to include get-dotnetup.{ps1,sh} (and checksums).
  • Add unit coverage validating dotnetup channel link-pattern behavior and link creation outputs.
  • Minor whitespace cleanup in PublishingConstants.cs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/Microsoft.DotNet.Build.Tasks.Feed/src/model/PublishingConstants.cs Adds aka.ms link-matching regex for get-dotnetup scripts and ties it to the dotnetup daily channel.
src/Microsoft.DotNet.Build.Tasks.Feed.Tests/LatestLinksManagerTests.cs Verifies LatestLinksManager creates expected aka.ms links for dotnetup binaries + get-dotnetup scripts only.
src/Microsoft.DotNet.Build.Tasks.Feed.Tests/GeneralTests.cs Confirms dotnetup channel config allows intended assets and rejects unrelated scripts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nagilson nagilson marked this pull request as ready for review June 25, 2026 23:14
@nagilson nagilson requested a review from premun June 25, 2026 23:14
@mmitche mmitche merged commit 8e656c3 into main Jun 26, 2026
11 checks passed
@mmitche mmitche deleted the nagilson-sign-get-dotnetup-script branch June 26, 2026 20:21
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.

3 participants