Add releases-index, releases.md, and verify releases tools#28
Merged
richlander merged 1 commit intomainfrom Mar 26, 2026
Merged
Add releases-index, releases.md, and verify releases tools#28richlander merged 1 commit intomainfrom
richlander merged 1 commit intomainfrom
Conversation
Three new commands for the dotnet-release CLI:
generate releases-index [path]
Generates releases-index.json from per-version releases.json files.
Discovers versions by scanning directories, reads each releases.json,
and writes the index using Utf8JsonWriter for precise output control.
generate releases [path]
Generates releases.md from per-version releases.json files using a
Markout template with supported/EOL release tables.
verify releases [version] [path] [--skip-hash]
Validates the latest patch release of each supported version:
- HTTP HEAD checks for all download URLs (16 concurrent)
- SHA512 hash verification (4 concurrent, skippable)
- CDN latest.version file cross-validation against releases.json
- aka.ms redirect verification from ComponentFile.akams and
downloads/*.json evergreen links
Optional version filter: channel (10.0) or patch (10.0.5).
Exit code 0 = clean, 2 = issues found (markdown report on stdout).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Three new commands for the dotnet-release CLI:
generate releases-index [path]Generates
releases-index.jsonfrom per-versionreleases.jsonfiles. Discovers versions by scanning directories and writes the index usingUtf8JsonWriterfor precise output control (avoids AOT issues with nullable/default fields).generate releases [path]Generates
releases.mdfrom per-versionreleases.jsonfiles using a Markout template with supported and EOL release tables.verify releases [version] [path] [--skip-hash]Validates the latest patch release of each supported version:
--skip-hash)dotnet-install.shversion files againstreleases.jsonComponentFile.akamsfields anddownloads/*.jsonevergreen links match the concrete URLs inreleases.jsonOptional version filter: channel (
10.0) or specific patch (10.0.5). Exit code 0 = clean, 2 = issues found (markdown report on stdout).Companion skill PR: dotnet/core#10325