Release v3.0.2
Author: MikeAlhayekCreated Sep 30, 2026Updated Sep 30, 2026
Labelsrelease
Release Patch Preparation Guide
Step 1: Backporting Pull Requests
- Identify Pull Requests: Review any pull requests (PRs) that need to be backported to the release branch. These should be PRs that strictly contain bug fixes and nothing else.
- Backport Pull Requests: For PRs merged into the
mainbranch that need to be applied to the release branch (e.g.,release/3.0), comment on the merged PR with/backport to release/3.0. This comment will trigger a GitHub Action to create a new PR with the same changes for therelease/3.0branch. - Merge PRs: Once all necessary PRs are created, merge them into the
release/3.0branch.
Step 2: Code and Documentation Updates
- From the release branch (e.g.,
release/3.0), create a new temporary branch for the version (e.g.,release-prep/3.0.2). - Update version references in the documentation and code. Refer to this PR for an example. The easiest way is to start with a search & replace on the previous version. Version Updates Checklist:
- Update
OrchardCore.Commons.props: Set<VersionPrefix></VersionPrefix>to the new version you're preparing for release. - Update Module Versions: Modify
src/OrchardCore/OrchardCore.Abstractions/Modules/Manifest/ManifestConstants.csto reflect the new version. - Release Notes: Finalize the release notes in the documentation, including:
- Highlights and goals of the release.
- Prerequisites for running the new version.
- Upgrade steps.
- A What's Changed section that simply lists all commits (PRs). You can generate this by adding a temporary tag (e.g.,
2.1.1-temp; don't prefix it withvsince that can cause a NuGet publish to trigger) to the latest commit in the release branch (e.g.,release/2.1), then generating release notes for a draft release. Be sure to remove the tag immediately after this.
- Update Documentation Navigation: Add the release notes page to the
mkdocs.ymlnavigation and remove it fromnot_in_nav. - Version Mentions: Update all references to the new version throughout the documentation, including:
- Status in the root README
- CLI templates and commands.
- Relevant guides, such as the Creating a new decoupled CMS Website guide.
- Update
- Create a version PR titled
Release <version number>(e.g.,Release 2.1.1) from the version branch (e.g.,release-prep/2.1.1) into the release branch (e.g.,release/2.1) - In GitHub, manually run the
Preview - CIworkflow on your branch (NOTmain). This will release a new preview version on Cloudsmith for testing.
Step 3: Validation
- Check Functionality: Update
OrchardCore.Samplesto the latest preview version generated in the previous step (just change theOrchardCoreVersionproperty in the rootDirectory.Build.propsfile). Ensure the samples work as expected. - Test Guides: Test the following guides with NuGet packages from the Cloudsmith feed. At this point, the versions of these pages in the version branch (e.g.,
release-prep/2.1.1), should contain the version number of the upcoming version. - If everything looks good and all checks pass, merge the version PR.
Step 4: Creating the New Release
- Navigate to the GitHub Releases page.
- In the "Choose a tag" menu, enter the new version number, including
v(e.g.,v2.1.1), and select "+ Create tag: v... on publish." - Change the target branch from
mainto the release branch (e.g.,release/2.1). - Enter the version number in the Title field (e.g.,
2.1.1). - Click Generate release notes to auto-generate release notes.
- Add a link to the release notes on the docs site:
Check out the full release notes [here](https://docs.orchardcore.net/en/latest/releases/2.1.1/). - Ensure the "Set as the latest release" checkbox is checked, then click Publish release.
Step 5: Aligning Branches
Merge to main: After releasing the new version, merge the release branch into the main branch to ensure main contains all administrative changes.
- Create a pull request from the release branch (e.g.,
release/2.1) intomain. - Resolve any merge conflicts using external tools (e.g., Fork) to avoid auto-merging
maininto the release branch. Important: DO NOT resolve conflicts using GitHub's interface; that will automatically mergemaininto the release branch, which must be avoided. - Merge the PR if all checks pass. If there are merge conflicts, then you'll need to merge to
mainmanually using the following steps:- Fetch the latest changes from the Git repository.
git checkoutthemainbranch.- Merge the release branch (e.g.,
release/2.1) intomainwith a merge commit (NOT a squash merge). Use the commit message patternMerge release-prep/2.1.1 to main. - Resolve any conflicts.
- Push the changes to
main. This action requires a user with the ability to force-push intomain, as it is protected by default. - GitHub will automatically delete the release branch; to restore it, go back to the new merged PR.
Step 6: Housekeeping
- Assign the milestone for the release version to this issue. Create one if it doesn't exist.
- Assign the milestone to the issues that were released in the version.
- Close the milestone.
- Update
OrchardCore.Samplesto the newly released version (just change theOrchardCoreVersionproperty in the rootDirectory.Build.propsfile).
Step 7: Publicizing the Release
- Post about the release on X (formerly Twitter) via the Orchard Core X (Twitter) repo.
- Post in the Orchard Core LinkedIn group.
- Post to the Orchard Core Facebook page.
- Send a message to the
#announcementschannel on Discord. - Add an announcement banner linking to the release notes on the home page of the website (Home content item → top Block → Announcement tab: add it with the
Releasebadge). Don't do this if there's a more important Harvest banner there.
Source: OrchardCMS/OrchardCore