Automatically remove older application releases

Hi, i’m looking to only keep the latest 3 application’s release deployments to a deployment target.
Application release versions are deployed to: D:\Octopus\Applications$env$project
The retention policy on the lifecycle is set to keep 3 releases (extracted files and packages on the tentacles), but we I have found 6+ releases on some tentacles.
Where am i going wrong?
Thanks

Hi Jay,

Thanks for reaching out. That does seem like strange behavior.

Could you please attach the latest deployment task log from the project in question? Could you also attach a screenshot of the folder with the releases that still exist on the tentacle to compare with? If these need to be private, please feel free to direct message me.

Thanks,
Jeremy