How can I automate the Episerver upgrade process?

  • Page Owner: Not Set
  • Last Reviewed: 2020-01-14

I'd like to automate our monthly episerver upgrades. How can I do this?


Additional Posts

Create a Powershell script to handle the upgrade tasks

In the project I upgrade, I create an EpiUpgrade.ps1 file. Below is an example/starter file. Make sure to add this in as a solution file.

Update-Package Episerver.CMS
Update-Package Episerver.CMS.AspNet
Update-Package Episerver.CMS.Core
Update-Package Episerver.CMS.TinyMce
Update-Package Episerver.CMS.UI
Update-Package Episerver.CMS.UI.Core
Update-Package Episerver.Find
Update-Package Episerver.Forms
Update-Package Episerver.Forms.Core
Update-Package Episerver.Forms.UI
Update-Package Episerver.Framework
Update-Package Episerver.Framework.AspNet
Update-Package Episerver.Search
Update-Package Episerver.Search.CMS

To run the task, open the Package Manager Console Type ./EpiUpgrade.ps1 (You can use tab to autocomplete).

For multi project solutions, you will have a drop down to select the project or you can add -Project <ProjectName> to specify and upgrade multiple at the same time.