UNIBASE

ubNewVersion: Create a new version of an Application

SYNOPSIS

ubNewVersion –app <application name> –ver <new version> –verbose –comment <new version comment>

DESCRIPTION

ubNewVersion creates a new version of an application.

Versions have the name <application>-<major>.<minor>. eg uniquote-01.03 and are located in /usr/local/app. A symbolic link from the version to the application name is maintained. ie /usr/local/app/<application> is a symbolic link to the current version.

To create a new version, the system backs up the current version in a gzipped tar file. It copies the backup to the “archive” sub-directory, ie /usr/local/app/archive.

The system renames the current version to the new version and recreates the symbolic link to the application.

Add the comment to the end of the file named “VERSIONS” in the root of the application tree. ie/usr/local/app/<application>/VERSIONS. Currently each entry has the format: <version>-<date and time>-<comment>.

Verified by MonsterInsights