OpenParable
Skip to content
← Back to skills

Create Public Release PR

Development
create-public-release-pr

Create Public Release PR is an Agent Skill for development published in the dotnet/dotnet-docker repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Create a public PR to the dotnet-docker release branch with new .NET versions, and a follow-up PR from the release branch into main. Use when preparing the public release PR for a .NET containers servicing release.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/dotnet/dotnet-docker/blob/HEAD/.github/skills/create-public-release-pr/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/create-public-release-pr, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Create Public Release PR

Workflow

  1. Create a working branch - create a new branch based off of the public release branch (e.g. release-$ReleaseName).

    • Run pwsh ../shared/Get-ReleaseBranches.ps1 to find the latest release branch.
    • The most recently created branch corresponds to the current release.
  2. Collect stage container names - read stage-containers.txt from the internal release branch get the stage container names for each release.

  3. Update Dockerfiles to new .NET versions - for each .NET version to be released, run the update-dependencies tool from the root of the dotnet-docker repo:

    dotnet run --project ./eng/update-dependencies/update-dependencies.csproj -- from-staging-pipeline $StageContainerName --azdo-organization "https://dev.azure.com/dnceng" --azdo-project internal --source-branch "main"
    
    • Commit changes separately for each .NET version with this commit message format: Update .NET X.0 to X.0.Y Runtime / X.0.ZZZ SDK. For previews: Update .NET X.0 to X.0 Preview N.
  4. Confirm with the user — Let the user review the changes.

  5. Submit the PR — Push the branch to origin and submit a PR to main.