Staging Branch-off

Requirement: The last staging-next cycle before the release started and staging is now unrestricted.

For these steps "24.05" represents the current release tag (the version you want to release).

Git branches

Set NEWVER to the new release version:

export NEWVER=24.05

Now create the branches:

  1. Fetch and check out the staging-next branch.

  2. Create the actual branches

    git branch staging-$NEWVER
    git branch staging-next-$NEWVER
    
  3. Push the changes

    git push upstream staging-$NEWVER staging-next-$NEWVER
    

Incorporate new branches

We now incorporate the new branches into the workflows. The suggestion is to do these changes via a PR.

  1. Create new NixOS and Nixpkgs release notes file

  2. Update periodic-merge workflow so that

    • master gets merged into staging-next-24.05
    • staging-next-24.05 gets merged into staging-24.05
  3. Create the backport label for the new staging branch:

    • backport staging-24.05

    Use the description Backport PR automatically and the color value #0fafaa