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

Use Rebar3 3.18.0 for OTP 22 #476

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

kianmeng
Copy link
Contributor

Starting from 3.19.0, Rebar3 only support OTP 23 to 25 inclusively. Hence, the last official supported Rebar3 for OTP 22 is 3.18.0.

See:

@kianmeng
Copy link
Contributor Author

Encountered this error while using Rebar3 3.20.0 with OTP 22:

Run erlef/setup-beam@v1
Installing Erlang/OTP OTP-22.3.4.27 - built on amd64/ubuntu-20.04
Installing rebar3 3.20.0
  Installed Rebar3 version
  /home/runner/work/_temp/.setup-beam/rebar3/bin/rebar3 version
  escript: exception error: undefined function rebar3:main/1
    in function  escript:run/2 (escript.erl, line 758)
    in call from escript:start/1 (escript.erl, line 277)
    in call from init:start_em/1 
    in call from init:do_boot/3 
  Error: The process '/home/runner/work/_temp/.setup-beam/rebar3/bin/rebar3' failed with exit code [12](https://github.com/hexpm/hex_core/actions/runs/9659949838/job/26644420422#step:3:13)7

See https://github.com/hexpm/hex_core/actions/runs/9659949838/job/26644420422

Starting from 3.19.0, Rebar3 only support OTP 23 to 25 inclusively.
Hence, the last official supported Rebar3 for OTP 22 is 3.18.0.

See:
- https://github.com/erlang/rebar3/releases/tag/3.19.0
- erlang/rebar3#2706
@kianmeng kianmeng force-pushed the use-rebar3-3.18-for-otp-22 branch from 83e64e8 to 677970d Compare June 25, 2024 13:24
@getong getong merged commit b3cbee1 into erlang:master Jun 25, 2024
22 checks passed
@kianmeng
Copy link
Contributor Author

🥳 🥳 🥳 🥳 🥳

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.

2 participants