I am trying to use exrm in my elixir project, but this shows a very cryptic behavior. This is my mix.exs:
defmodule MyApp.Mixfile do use Mix.Project def project do [app: :my_app, version: "0.0.1", elixir: ">= 1.0.5", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end def application do [ mod: { MyApp, [] }, applications: [:logger, :cowboy] ] end defp deps do [ {:cowboy, "1.0.2"}, {:exrm, "0.18.1"} ] end end
When you first start mix release everything works fine. I run the release, and then I just make fun of the version to "0.0.2" and create a second version. This also works, and I can go to "0.0.2". The third time I get the following error:
... ==> Generating release... ==> Generated .appup for fis_api 0.0.2 -> 0.0.3 ==> Failed to build release. Please fix any errors and try again.
There is a very similar open problem on the exrm github page, but in my case there is no error regarding the beam file.
zobel source share