- Download the latest stable uspec executable (you need both
phar
and pubkey
files to be able to automatically update to the latest version later)
chmod +x uspec.phar
- Run
uspec.phar
$ uspec.phar generate:spec [options] [--] <path> [<version>]
Arguments:
path Path to SugarCRM build we are going to upgrade
version Version to upgrade to
Options:
-D, --dump Save generated spec to file
-U, --upgradeSource[=UPGRADESOURCE] Path to a folder with SugarCRM upgrade packages
$ uspec.phar self:update [options]
Options:
-s, --stability[=STABILITY] Release stability (stable, unstable, any) [default: "any"]
-r, --rollback Rollback uspec update
docker build -t uspec-app .
docker run --rm -ti \
-v /path/to/sugarcrm/build:/build \
-v /path/to/upgrade/packages:/upgrade_packages \
uspec-app generate:spec /build 7.8 --upgradeSource=/upgrade_packages