erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

Dependencies for 3.22.3 are broken on Hex.pm #582

Closed rhruiz closed 7 years ago

rhruiz commented 7 years ago

3.22.3 seems to have been uploaded do hex without dependencies and it is not compiling here. It is missing some erlware_commons functions.

Links for the versions on hex.pm showing the missing deps:

https://hex.pm/packages/relx/3.22.3 (no deps here) https://hex.pm/packages/relx/3.22.2 (depends on bbmustache, cf, erlware_commons, getopt, providers)

drozzy commented 7 years ago

Is there any way to override exrm getting 3.22.3?

I want to get the non-broken 3.22.2 version instead.

tsloughter commented 7 years ago

Sorry about this, we are getting it fixed and will release 3.22.4.

I don't know how to do the config but I'd assume with mix you can simply add a dep on relx 3.22.2 and exrm will probably use that?

rhruiz commented 7 years ago

I just added

{:relx, "3.22.2"},

To my mix.exs and that forces e em tô use that version.

drozzy commented 7 years ago

Right, I was using:

{:relx, "~> 3.22.2"}

which actually means >= 3.22.2 and < 3.3.0.

Switching to {:relx, "== 3.22.2"} does what I want.

tsloughter commented 7 years ago

@lrascao just published 3.22.4 and I retired the bad version, so exrm should be ok now if it selects the newest version of relx.

drozzy commented 7 years ago

I was actually using exrm erroneously, distillery is the way to go now. Looks like it doesn't even require relx.

Anyways, 3.22.4 works fine (but I guess I'm not using it).

rhruiz commented 7 years ago

Thanks @tsloughter, working fine with 3.22.4 :)