bitwalker / distillery

Simplify deployments in Elixir with OTP releases!
MIT License
2.96k stars 396 forks source link

Fix `after_cleanup` plugin call #698

Open decius7bc opened 5 years ago

decius7bc commented 5 years ago

Summary of changes

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

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.