=======================
- Pull changes from repository
git pull
git checkout <VERSION TO UPGRADE>
- Upgrade composer dependency
php composer.phar install --prefer-dist
- Disable APC, OpCache, other code accelerators
- Remove old caches and assets
rm -rf app/cache/*
rm -rf web/js/*
rm -rf web/css/*
- Upgrade platform
php app/console oro:platform:update --env=prod