Skip to content
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_organization: allow building with OTP-25.0-rc1 #302

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

mikpe
Copy link
Contributor

@mikpe mikpe commented Mar 22, 2022

Attempting to build with OTP-25.0-rc1 throws a warning:

===> Compiling rebar3_hex src/rebar3_hex_organization.erl:391:5: Warning: public_key:ssh_encode/2 is removed; use ssh_file:encode/2 instead

which arguably should have been a hard error since the function is gone.

For some reason the ifdef:ery in rebar3_hex_organization.erl doesn't make the right choice for OTP-25.0-rc1, so I took the opportunity to rewrite it using the standard OTP_RELEASE macro. With this the build succeeds.

@starbelly
Copy link
Member

Thanks for the contribution! We'll cut a release by tomorrow. ❤️

@starbelly starbelly merged commit c7ed06b into erlef:main Mar 22, 2022
@mikpe mikpe deleted the fix-otp25-build branch March 23, 2022 10:53
@starbelly
Copy link
Member

Just noting, needed to get in a bug fix and enhancement before publishing :)

@zmstone
Copy link

zmstone commented Jun 8, 2022

Hi @starbelly is it ready for a release? if not, need any help?

@starbelly
Copy link
Member

@zmstone I think I was waiting on a PR to be merged, but that's not going to happen atm, so I'll cut a release tonight.

@starbelly
Copy link
Member

@zmstone https://hex.pm/packages/rebar3_hex/7.0.2 released :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants