andres-montanez / Magallanes

The PHP Deployment Tool
https://magephp.com
MIT License
691 stars 169 forks source link

v4: does not delete old releases? #428

Closed fritzmg closed 3 years ago

fritzmg commented 6 years ago

I have configured an environment with releases: 2. However, after successfully deploying a new release, old releases are never actually deleted. Currently there are already 7 releases in the releases directory - none of the old ones were ever deleted. The console output says the clean up is run successfully:

    Starting Post Release tasks on host […]:
        Running [Release] Cleaning up old Releases ... OK
    Finished 1/1 tasks for Post Release.

This task immediately finishes - which is odd anyway, because there would be a lot of files to delete and that would take at least a little bit of time.