Choose, adjust and run:
// composer require plus dev/build to ensure the framework knows.
composer require friendsofsilverstripe/upgrade-path --dev;
php ./framework/cli-script.php dev/build;
clear;
// show and tell how to use it.
php ./framework/cli-script.php dev/tasks/UpgradePath;
echo "To re-run use: sake dev/tasks/UpgradePath"
// saving to git
git add composer.json composer.lock
git commit -m 'MINOR: adding upgrade-path :)'
It is recommendated to install this only as dev dependency!
sake dev/tasks/UpgradePath
made with ☕