|
2 | 2 |
|
3 | 3 | Based on https://github.com/dotnet/sdk/issues/41607 |
4 | 4 |
|
| 5 | +## Current Process |
| 6 | + |
| 7 | +This section details the current process for releasing workloads. |
| 8 | + |
| 9 | +1. **Identify the current versions of the workloads you want to ship** |
| 10 | +2. **Identify an existing PR that makes those changes** |
| 11 | +3. **Update the branding in the Version.props file for the release** |
| 12 | + - If it's a monthly release, update the VersionFeature to match the SDK release and set VersionPatch to 0 |
| 13 | + - If it's an in-between release, increment the VersionPatch value |
| 14 | + - Note, if you are prepping 9 release, make sure you update all impacted branches since we are shipping multiple .NET9 SDKs from one branch |
| 15 | +4. **Merge the change** |
| 16 | +5. **Wait for the change to flow internally** |
| 17 | + - You can check the branch history internally to see if you change made it |
| 18 | +7. **Queue a build** |
| 19 | + - Target the branch you are shipping from |
| 20 | + - Only select both the checkbox for a stable version and publish to the feed if you have high confidence that the branding and versions are correct. |
| 21 | + - Without the stable box selected, you will get a -servicing version of the stable ID workload which can be used for testing and saved on the feed |
| 22 | + - You can select stable and not publish to the feed and download the packageartifacts locally for testing |
| 23 | +8. **Test the build** |
| 24 | + - start a sandbox |
| 25 | + - install the SDK band you intend to test |
| 26 | + - create a test folder |
| 27 | + - cd \ |
| 28 | + - mkdir test |
| 29 | + - cd test |
| 30 | + - dotnet new nugetconfig |
| 31 | + - if you published to a feed |
| 32 | + - dotnet nuget add source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-workloads/nuget/v3/index.json |
| 33 | + - if you didn't publish to a feed |
| 34 | + - copy the packageartifacts into c:\packages |
| 35 | + - dotnet nuget add source c:\packages |
| 36 | + - dotnet workload update --version <version> |
| 37 | + - note that if you are testing before release day, you may have to find and add additional feeds for the various manifest. |
| 38 | + - testing the manifests is typically enough |
| 39 | +9. **Ping Rahul to ask him to publish the bits on nuget.org** |
| 40 | + |
5 | 41 | ## Ideal Process |
6 | 42 |
|
7 | 43 | > [!NOTE] |
|
0 commit comments