ubNewVersion

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 current version is backed up in a gzipped tar file. The backup is copied to the sub-directory “archive”. ie /usr/local/app/archive.

The current version is renamed to the new version and the symbolic link to the application is recreated.

The comment is added to the end of a file “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>.