After reading @jflheureux's answer and little bit digging around Habitat release package.
First Aha!, it is a Sitecore package definition file which contains everything - content items, security items, files. Second Aha!, we can Generate Package
using Sitecore Rocks
by using package.xml
which is a similar process as Package Designer
in Sitecore Desktop
.
To test this:
I just had to rename package.xml
to HabitatBuild.package
and open this file using Visual Studio with Sitecore Rocks preinstalled.
Manual steps to make this working:
- Rename
package.xml
to HabitatBuild.package
- Open Visual Studio
- Make sure you have Sitecore Rocks extension installed in Visual Studio
- Make sure you have Sitecore website connection added in Sitecore Explorer
- Open
HabitatBuild.package
in Visual Studio
- Select the Sitecore website for connection in pop-up dialog
- Click on
Build
button
Still, I need to find out how to automate this process.
Thanks again @jflheureux for helping indirectly :)
Update
We can use the Package Designer
directly with package.xml
, just drop the file in Data/packages
folder of Sitecore instance and Open the package.xml
from Package Designer
and generate the package.