Repository navigation
Sign and publish get-dotnetup.ps1 script - #54984
Merged
nagilson merged 3 commits intoJun 30, 2026
Merged
Conversation
Resolves dotnet#54777 Prepare to publish the get-dotnetup script so it can be consumed via a /daily/ url, as right now the url is generic, unversioned, and pointing at the raw github file which prevents signing. An arcade change is needed to pickup that artifact and publish it as well. The script gets rejected by powershell if it's unsigned hence the motivation to do this.
This was referenced Jun 25, 2026
joeloff
approved these changes
Jun 30, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enables Authenticode signing and official publishing of the dotnetup bootstrap scripts (notably get-dotnetup.ps1) by staging them into build artifacts, registering them for signing, and ensuring they publish under the dotnetup/<version>/ blob prefix so Arcade can generate /daily/ aka.ms links.
Changes:
- Stages
scripts/get-dotnetup.ps1andscripts/get-dotnetup.shinto$(ArtifactsBinDir)dotnetup-scriptson thewin-x64leg. - Adds signing metadata for
get-dotnetup.ps1(and explicitly marks the.shas unsigned) and registers both scripts as blob artifacts with checksum sidecars. - Adds publishing metadata to place the scripts (and their
.sha512files) underdotnetup/$(DotnetupVersion)/in blob storage.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/Installer/dotnetup/dotnetup.csproj | Stages bootstrap scripts into artifacts for downstream signing/publishing. |
| eng/Signing.props | Adds signing configuration and registers staged scripts as blob artifacts. |
| eng/Publishing.props | Sets RelativeBlobPath so scripts publish under the dotnetup version prefix (enabling /daily/ shortlinks). |
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
nagilson
enabled auto-merge
June 30, 2026 20:50
joeloff
approved these changes
Jun 30, 2026
nagilson
disabled auto-merge
June 30, 2026 21:16
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.
Resolves #54777
Signs the
get-dotnetup.ps1script but not the.shscriptPrepares to publish the get-dotnetup script so it can be consumed via a
/daily/url, as right now the url is generic, unversioned, and pointing at the raw github file which prevents signing.An arcade change is needed to pickup that artifact and publish it as well. This has been merged:
Publish
get-dotnetupscripts alongsidedotnetuparcade#17053A build can be viewed here but we need an actual automated CI run to get the URL:
https://aka.ms/dotnet/dotnetup/daily/get-dotnetup.ps1to work.The script gets rejected by powershell if it's unsigned hence the motivation to do this.
Before:

Now: (on sandbox)
