bitwalker / distillery

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

Destillery 2.1 not working with Edeliver 1.6 #690

Closed edborsa closed 5 years ago

edborsa commented 5 years ago

Create New App

Mix new app_name

Chage mix file Change mix file to include

{:edeliver, ">= 1.6.0"}, {:distillery, "~> 2.0", warn_missing: false},

add :edeliver to extra_applications

run: mix deps.get

Mix compile: mix compile

:Error!

(CompileError) lib/distillery/plugins/link_config.ex:17: module Mix.Releases.Plugin is not loaded and could not be found (elixir) expanding macro: Kernel.use/1
lib/distillery/plugins/link_config.ex:17: Releases.Plugin.LinkConfig (module)
could not compile dependency :edeliver, "mix compile" failed. You can recompile this dependency with "mix deps.compile edeliver", update it with "mix deps.update edeliver" or clean it with "mix deps.clean edeliv er"

(I have downgraded destillery to 2.0.14, where it is still working) Best Regards

bitwalker commented 5 years ago

Yes, edeliver will need to handle the breaking changes in 2.1, as Elixir core now owns the Mix.Releases namespace and mix release tasks. Everything is now namespaced under Distillery or distillery.* respectively.

ndac-todoroki commented 4 years ago

I think the cause is #694