Major Release Workflow
Assuming the transition is from version 4.1 to 4.2, and that the Stride source code has been updated to the corresponding .NET version, follow these steps. Note that some steps can be executed at a later stage if needed.
Before starting, create the master-4.1 branch from master: it keeps the documentation of 4.1 deployable once master documents 4.2.
- Update
manual\install-and-update\requirements.mdto reflect the new .NET version references - Create
ReleaseNotes\ReleaseNotes-4.2.mdwith the release notes for version4.2- Use GitHub Release to generate a list of What's Changed, once the new tag is added, following the TeamCity build
- Release notes of previous versions stay where they are,
ReleaseNotes-4.1.mddoesn't need any change - The release notes of all versions aren't versioned: they're built and deployed from
masteronly (seeunversionedinversions.json), so fixes to the release notes of older versions are made onmasteronly index.md, the list of the release notes, is generated byBuildDocs.ps1fromtoc.yml
- Add
name: 4.2 release noteswithhref: ReleaseNotes-4.2.mdat the top ofReleaseNotes\toc.yml - In
en\docfx.json- Update
TargetFrameworkin two locations to the current framework version being used. Ensure to test this step locally
- Update
- Edit
versions.json- Under
docs, add the new version at the top, i.e.{ "url": "4.2", "name": "4.2 (beta)" } - Keep
lateston the released version4.1for now - The highest version of
versions.jsonis the one built from the branch
- Under
- For GitHub Actions deployment update
*.ymlfiles in the.github\workflows\folderdotnet-version:Update to the related .NET version
- Run Deploy Stride Docs version to Azure Web App from
masterwith thestagingslot, and check the staging environment - ⚠️ Run it again with the
productionslot. The4.2folder is deployed next to the other versions,lateststill serves4.1, and the Stride Launcher can already load the release notes of4.2 - Run Deploy Stride Docs site root to Azure Web App from
masterwith theproductionslot, so that4.2 (beta)appears in the version selector (pushingversions.jsontomasteralready deployed it to staging)
Once 4.2 is released:
- Edit
versions.json: setlatestto4.2, and rename it from4.2 (beta)to4.2 - Run Deploy Stride Docs site root to Azure Web App from
masterwith theproductionslot./latest/now serves4.2, nothing needs to be rebuilt - It might take up to 24 hours for the CDN to refresh. The best approach is to contact the core contributors and request a CDN reset
Deploying 4.1 later (from master-4.1) only replaces the 4.1 folder, it doesn't change versions.json, web.config or /latest/.
Other locations to update
- Modify
contributors\engine\building-source-windows.md- Update SDK version references
- Update Visual Studio version
- Modify
contributors\engine\building-source-windows-other-ide.md- Update Build Tools path
- Modify
contributors\engine\building-source-windows-visual-studio.md- Update Visual Studio version
- Modify
manual\troubleshooting\stride-doesnt-run.md- Update SDK and .NET version references
- Update Visual Studio version
- Modify
manual\files-and-folders\distribute-a-game.md- Update SDK version references
- Modify
manual\get-started\update-stride.md- Update Visual Studio version
- Modify
includes\docs-prerequisites.md- Update SDK and .NET version references
- Update Visual Studio version