* Refactor deploy:cleanup Command
Remove $runOpts since it's not actually used
Move release symlink deletion to beginning of method. This will
allow the release symlink to be deleted even if deleting the old
releases fails.
* Refactor deploy:releases_log
Fixes issue where multiple failed releases in a row cause old
releases to not be cleaned up.
Fixes#2759
Co-authored-by: Anton Medvedev <anton@medv.io>
* Added option cleanup_tty to allow allocation when using sudo
* Added comment for new option cleanup_tty to CHANGELOG
* Added cleanup_use_sudo option to all commands in cleanup.php