Table of Contents

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.

  1. Update manual\install-and-update\requirements.md to reflect the new .NET version references
  2. Create release-notes\4.2.md with the release notes for version 4.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, 4.1.md doesn't need any change
    • Patch releases (4.2.1, ...) get a line in the changelog at the top of 4.2.md, and their notable changes go in the existing highlight or category they fit, or in a new highlight when they would have been one in 4.2.0
    • The release notes of all versions aren't versioned: they're built and deployed from master only (see unversioned in versions.json), so fixes to the release notes of older versions are made on master only
    • While 4.2 is in development, 4.2.md starts with an Under construction notice. Remove it before 4.2.0, whose GitHub release starts with these notes
    • index.md redirects /en/release-notes/ to the release notes shown by default: change its redirect_url from 4.1.html to 4.2.html once the notes of 4.2 are ready to be shown
  3. Add name: 4.2 release notes with href: 4.2.md at the top of release-notes\toc.yml
  4. In en\docfx.json
    • Update TargetFramework in two locations to the current framework version being used. Ensure to test this step locally
  5. Edit versions.json
    • Under docs, add the new version at the top, i.e. { "url": "4.2", "name": "4.2 (beta)" }
    • Keep latest on the released version 4.1 for now
    • The highest version of versions.json is the one built from the branch
  6. For GitHub Actions deployment update *.yml files in the .github\workflows\ folder
    • dotnet-version: Update to the related .NET version
  7. Run Deploy Stride Docs to Azure Web App from master with the staging slot, and check the staging environment
  8. ⚠️ Run it again with the production slot. The 4.2 folder is deployed next to the other versions, 4.2 (beta) appears in the version selector, latest still serves 4.1, and the Stride Launcher can already load the release notes of 4.2

Once 4.2 is released:

  1. Edit versions.json: set latest to 4.2, and rename it from 4.2 (beta) to 4.2
  2. Run Deploy Stride Docs to Azure Web App from master with the production slot and Sections root. /latest/ now serves 4.2, nothing needs to be rebuilt
  3. Run it again with Sections unversioned, so that the search of the unversioned pages finds the pages of 4.2
  4. 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

  1. Modify contributors\engine\building-source-windows.md
    • Update SDK version references
    • Update Visual Studio version
  2. Modify contributors\engine\building-source-windows-other-ide.md
    • Update Build Tools path
  3. Modify contributors\engine\building-source-windows-visual-studio.md
    • Update Visual Studio version
  4. Modify manual\troubleshooting\stride-doesnt-run.md
    • Update SDK and .NET version references
    • Update Visual Studio version
  5. Modify manual\files-and-folders\distribute-a-game.md
    • Update SDK version references
  6. Modify manual\get-started\update-stride.md
    • Update Visual Studio version
  7. Modify includes\docs-prerequisites.md
    • Update SDK and .NET version references
    • Update Visual Studio version