Using the create_CM_Patch Utility
The utility create_CM_Patch.sh is used to create a patch release of
CMs. A patch release version is created as a difference between a previous CM version
and a new CM version. This type of release may be useful if the implementation team
wants to ship only an update of the previously released version by preparing a smaller
package that can be delivered easily by email or ftp to the customer.
Fastpath:
Before executing the utility, be sure that both packages are available in the same directory on the server. During the installation process at the customer site, the patch install utility will not remove the previous version of CM modules and will only install the patch content on top of the previous CM version.Here is the process for creating a patch release CM version:
- Log in to the server with the administrator user id.
- Change directory to the name of the directory that contains the SDK packaging utilities
(
CM_packaging). - Execute the utility by entering the following command:
./create_CM_Patch.sh -d $RELEASEHOMEWhere:
$RELEASEHOMEis the directory that currently holds your CM full release packages - and where you also want to put your new patch package.
Tar and zip the resulting CM patch directory for Unix platform or zip it for Windows platform and ship it to your customer. The customer who wishes to install the delivered package onsite must follow these instructions:
- Decompress and untar the installation media (on Unix) or unzip (on Windows) to a temporary directory.
- Change directory to that directory.
- Log in and initialize the target environment.
- Change to the Installation directory by using the following command
cd CMCCB.$VERNOWhere:
$VERNOis the version number (the content of the fileCMVERSION.txt) - Run the following script:
./install.sh - on Unixinstall.cmd - on Windows
Parent topic: App Server CM Packaging Tools