Skip to content

Readme templates should automatically determine support status from version #6764

Description

@lbussell

See #6762 (review)

The support status of various .NET releases is listed in the featured tags section of each repo's README:

## Featured Tags
* `10.0` (Release Candidate)
* `docker pull mcr.microsoft.com/dotnet/sdk:10.0`
* `9.0` (Standard Support)
* `docker pull mcr.microsoft.com/dotnet/sdk:9.0`
* `8.0` (Long-Term Support)
* `docker pull mcr.microsoft.com/dotnet/sdk:8.0`

That status is hard-coded in the following template:

https://github.com/dotnet/dotnet-docker/blob/2a6f35b9361d1aacb664b0ce09e529698b622d2b/eng/readme-templates/FeaturedTags.md

However, we could compute it automatically. The following logic would work for this (pseudocode):

if build version contains "alpha" -> "(Alpha)"
if build version contains "preview" -> "(Preview)"
if build version contains "rc" -> "(Release Candidate)"
else ->
    if major version is even -> "(Long-Term Support)"
    else -> "(Standard Support)"

Activity

  1. added theissue type on Nov 10, 2025
  2. moved this from Backlog to Post Release in .NET Dockeron Nov 10, 2025
  3. lbussell commented on Nov 10, 2025

    @lbussell
    MemberAuthor
  4. moved this from Post Release to Current Release in .NET Dockeron Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    • Status
      Current Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions