Skip to content

Verify hashes in the release manifests#53162

Open
nagilson wants to merge 7 commits intodotnet:release/dnupfrom
nagilson:nagilson-nagilson-verify-shas
Open

Verify hashes in the release manifests#53162
nagilson wants to merge 7 commits intodotnet:release/dnupfrom
nagilson:nagilson-nagilson-verify-shas

Conversation

@nagilson
Copy link
Member

@nagilson nagilson commented Feb 25, 2026

dotnetup has failed in CI several times due to an invalid hash in the release, so let's check the hashes to help the release team see which releases need validation/changes.

Throw away script and CI change.

this is a throw away script but I dont want customers to hit this
@nagilson
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@nagilson nagilson marked this pull request as ready for review February 25, 2026 22:35
Copilot AI review requested due to automatic review settings February 25, 2026 22:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a PowerShell-based verification step intended to catch invalid SHA-512 hashes in .NET release manifests earlier (before they break dotnetup CI), and wires this verification into the dnup PR pipeline.

Changes:

  • Added Verify-ReleaseHashes.ps1 to download release assets referenced by releases.json and verify their SHA-512 hashes.
  • Updated .vsts-dnup-pr.yml to run hash verification for channels 7.0–10.0 and to add an executables build stage.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
src/Installer/releases/Verify-ReleaseHashes.ps1 New script to fetch a channel’s releases.json, download .zip/.tar.gz assets, compute SHA-512, and report mismatches.
.vsts-dnup-pr.yml Adds stages/jobs to build dotnetup executables and to run/publish hash verification results for multiple channels.
Comments suppressed due to low confidence (1)

.vsts-dnup-pr.yml:11

  • The PR branch include list adds a specific topic branch name (nagilson-dnup-executables). If this branch is not intended to be a long-lived target branch, keeping it here will cause unexpected PR validation behavior and future maintenance churn. Consider removing it before merging unless it’s meant to be a permanent branch pattern.
    - dnup
    - release/dnup
    - release/dotnetup

@nagilson nagilson requested a review from a team as a code owner February 26, 2026 17:38
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.

2 participants