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.
manual\requirements\index.md to reflect the new .NET version referencesReleaseNotes\ReleaseNotes.md and rename the copy to ReleaseNotes-4.1.mdReleaseNotes.md:
4.24.2ReleaseNotes\toc.yml
name: 4.2 release notes with href: ReleaseNotes.mdname: 4.1 release notes with href: ReleaseNotes-4.1.mden\docfx.json
_appFooter: Increase the version numberTargetFramework in two locations to the current framework version being used. Ensure to test this step locallyversions.json
versions, add the new version 4.2*.yml files in the .github\workflows\ folder
dotnet-version: Update to the related .NET versionmaster to staging branch will automatically trigger deployment to our staging environmentmaster to release branch will automatically trigger deployment to our production website[!CAUTION] ⚠️ You must manually rename the existing folder on the server from
4.1to4.1-backup, otherwise, the deployment to production will delete this folder while deploying to the4.2folder. Once4.2is deployed, it is safe to rename4.1-backupback to4.1. Any further deployments will affect only the4.2folder.[!CAUTION] There is a rule
<action type="Rewrite" url="4.3/{R:1}" />in the rootweb.configthat might need adjustment, even though it already points to 4.3. Changing it to 4.2 will correctly show the 4.2 docs as the default, as expected. After switching it back to 4.3, if the site still displays 4.2, try appending?randomtextto the end of the URL. This forces an uncached version, which should finally display the 4.3 docs. At that point, the 4.3 rewrite rule is confirmed to work for uncached pages, meaning the CDN needs to be reset.
The BuildDocs.ps1 script will manage the deployment to the 4.2 folder while maintaining accessibility to previous versions. Note, that the deployment profile must be set to not delete existing items.
contributors\engine\building-source-windows.md
contributors\engine\building-source-windows-other-ide.md
contributors\engine\building-source-windows-visual-studio.md
manual\troubleshooting\stride-doesnt-run.md
manual\files-and-folders\distribute-a-game.md
manual\get-started\update-stride.md
includes\docs-prerequisites.md