-
|
I was cleaning up my drive and after looking up the jDeploy folder, I've seen that my jDeploy packages folder contains all previous versions of my app. Is this expected, or am I missing some sort of clean-up configuration? Should the previous versions be cleaned-up manually / programmatically? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Auto-cleanup is performed on branch-based installers (i.e. synced to a particular branch on github). But it doesn't currently clean up releases automatically. This is because it is possible to have two different versions installed at the same time, and in that case we wouldn't want one to obliterate the other. That said, the problem of disk space build-up is real, and probably the need for multiple versions is an edge case. I'll add a ticket for this |
Beta Was this translation helpful? Give feedback.
-
|
If anyone finds this, Issue #242 was created and this is now the default behaviour in v5.1.1. |
Beta Was this translation helpful? Give feedback.
Auto-cleanup is performed on branch-based installers (i.e. synced to a particular branch on github). But it doesn't currently clean up releases automatically. This is because it is possible to have two different versions installed at the same time, and in that case we wouldn't want one to obliterate the other.
That said, the problem of disk space build-up is real, and probably the need for multiple versions is an edge case.
So perhaps the best thing is to have if delete older versions by default, and provide a config option to keep them.
I'll add a ticket for this