Skip to content

Commit 1d0dc2e

Browse files
authored
feat(erlang): use OTP 27 by default for Elixir 1.20 (#6924)
feat(elixir): use OTP 27 by default for Elixir 1.20
1 parent af4e5c3 commit 1d0dc2e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • src/usr/local/containerbase/tools/v2

src/usr/local/containerbase/tools/v2/elixir.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function install_tool () {
3535
local versioned_tool_path
3636
local file
3737
local base_url="https://github.com/elixir-lang/elixir/releases/download"
38-
local base_file=elixir-otp-26.zip
38+
local base_file=elixir-otp-27.zip
3939

4040
check_command erl
4141

@@ -49,6 +49,8 @@ function install_tool () {
4949
base_file=elixir-otp-24.zip
5050
elif dpkg --compare-versions "${TOOL_VERSION}" lt 1.19.0; then
5151
base_file=elixir-otp-25.zip
52+
elif dpkg --compare-versions "${TOOL_VERSION}" lt 1.20.0; then
53+
base_file=elixir-otp-26.zip
5254
fi
5355

5456
file=$(get_from_url "${base_url}/v${TOOL_VERSION}/${base_file}")

0 commit comments

Comments
 (0)