wttech / aemc

AEM Compose (Core & CLI)
https://wttech.blog/blog/2023/get-your-aem-together-with-aem-compose/
Apache License 2.0
40 stars 5 forks source link

Protect wrapper when pointing to not-yet-released version #187

Open krystian-panek-vmltech opened 1 year ago

krystian-panek-vmltech commented 1 year ago
  1. update aemw to point to some non-existing / not-yet-released version
  2. run aemw, spot error
  3. previously non-existing version become existing
  4. run aemw, spot error again
  5. remove aem/home/opt/aemc-cli/[that-wrong-version]
  6. run aemw again, now works

when downloading aemc is not possible then it should not leave any garbage which blocks further update/redownloading