- Pull changes from the repository
git pull
git checkout <VERSION TO UPGRADE>
- Upgrade composer dependency
php composer.phar install --prefer-dist
- 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 --force