-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rebar3 hex publish incompatible with pkg_hash_ext
rebar.lock
#154
Comments
I guess it was broken by this PR: erlang/rebar3#2213 |
Damn, thanks for the detail into the issue, shouldn't be hard to fix. |
Oh, I tried to re-build my rebar3 from git 3.13.1 tag and it seems to work now! Even though it still reports itself as 3.13.0:
So pparently I had some minor version incompatibilities here. Sorry for confusion, please feel free to close! |
Oh ok, good to know, thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems hex.pm publishing is broken when rebar3.lock contains
pkg_hash_ext
section.rebar3_hex verion is 6.9.3.
I added some "io:format"'s for internal variables in rebar3_hex_publish.erl and that's what I found:
Here it expects
Deps
to be a tuple of the form{X, <tuple-of-4>, 0}
but what it is in reality is{X, <tuple-of-5>, 0}
https://github.com/tsloughter/rebar3_hex/blob/d23afbb63ec91ddb37ec54a97c24407376840186/src/rebar3_hex_publish.erl#L142-L143
Example from jesse library:
This caused some troubles for a Jesse library release: it has 2 dependencies, but it was published to hex.pm like there is none: for-GET/jesse#88
The text was updated successfully, but these errors were encountered: