- Create release ‘1.0.0’. Deploy it to Environment ‘Development’.
- Now create release ‘1.1.0’. Deploy it to Environment ‘Development’ too.
- Now you delete latest release ‘1.1.0’. But deletion makes nothing with deployment targets, it only removes version’s record from db.
- The release ‘1.1.0’ disappears from dashboard. From now dashboard shows ‘1.0.0’ as deployed on environment ‘Development’, which is not true.
Release ‘1.1.0’ did not disappeared from ‘Development’, it wasn’t re-deployed.
So dashboard lies to you
I think there can be two solutions:
- Does not allow deletion of currently deployed releases
- Simply mark release as ‘Deleted’, making it impossible to deploy/promote etc, but delete only it after it was overridden on all deployment targets.