The function after_cleanup/2 called run/3 obviously by mistake with :after_package instead of :after_cleanup. Plugin callbacks after_cleanup/2 were never run.
This minimal modification ensures expected behavior.
Checklist
[ ] New functions have typespecs, changed functions were updated
[ ] Same for documentation, including moduledocs
[ ] Tests were added or updated to cover changes
[ ] Commits were squashed into a single coherent commit
Licensing/Copyright
I certify that I own, and have sufficient rights to contribute, all source code and
related material intended to be compiled or integrated with the source code for Distillery
(the "Contribution"). My Contribution is licensed under the MIT License.
Summary of changes
The function
after_cleanup/2
calledrun/3
obviously by mistake with:after_package
instead of:after_cleanup
. Plugin callbacksafter_cleanup/2
were never run.This minimal modification ensures expected behavior.
Checklist
Licensing/Copyright
I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for Distillery (the "Contribution"). My Contribution is licensed under the MIT License.