Create Public Release PR
Workflow
Create a working branch - create a new branch based off of the public release branch (e.g.
release-$ReleaseName).- Run
pwsh ../shared/Get-ReleaseBranches.ps1to find the latest release branch. - The most recently created branch corresponds to the current release.
- Run
Collect stage container names - read
stage-containers.txtfrom the internal release branch get the stage container names for each release.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.
- Commit changes separately for each .NET version with this commit message format:
Confirm with the user — Let the user review the changes.
Submit the PR — Push the branch to
originand submit a PR tomain.
Source: dotnet/dotnet-docker — distributed by TomeVault.