Skip to content

Commit ecc29c6

Browse files
committed
feat: gigalixir-24 and heroku-24 support
1 parent 378538d commit ecc29c6

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
* Erlang - Prebuilt packages (17.5, 17.4, etc)
1717
* The full list of prebuilt packages can be found here:
1818
* gigalixir-20 or heroku-20 stacks: https://builds.hex.pm/builds/otp/ubuntu-20.04/builds.txt
19-
* heroku-22 stacks: https://builds.hex.pm/builds/otp/ubuntu-22.04/builds.txt
19+
* gigalixir-22 or heroku-22 stacks: https://builds.hex.pm/builds/otp/ubuntu-22.04/builds.txt
20+
* gigalixir-24 or heroku-24 stacks: https://builds.hex.pm/builds/otp/ubuntu-24.04/builds.txt
2021
* All other stacks: https://github.com/HashNuke/heroku-buildpack-elixir-otp-builds/blob/master/otp-versions
2122
* Elixir - Prebuilt releases (1.0.4, 1.0.3, etc) or prebuilt branches (master, v1.7, etc)
2223
* The full list of releases can be found here: https://github.com/elixir-lang/elixir/releases

lib/canonical_version.sh

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ erlang_builds_url() {
88
"heroku-22")
99
erlang_builds_url="https://builds.hex.pm/builds/otp/ubuntu-22.04"
1010
;;
11+
"heroku-24")
12+
erlang_builds_url="https://builds.hex.pm/builds/otp/ubuntu-24.04"
13+
;;
1114
*)
1215
erlang_builds_url="https://s3.amazonaws.com/heroku-buildpack-elixir/erlang/cedar-14"
1316
;;
@@ -30,6 +33,10 @@ fetch_erlang_versions() {
3033
url="https://builds.hex.pm/builds/otp/ubuntu-22.04/builds.txt"
3134
curl -s "$url" | awk '/^OTP-([0-9.]+ )/ {print substr($1,5)}'
3235
;;
36+
"heroku-24")
37+
url="https://builds.hex.pm/builds/otp/ubuntu-24.04/builds.txt"
38+
curl -s "$url" | awk '/^OTP-([0-9.]+ )/ {print substr($1,5)}'
39+
;;
3340
*)
3441
url="https://raw.githubusercontent.com/HashNuke/heroku-buildpack-elixir-otp-builds/master/otp-versions"
3542
curl -s "$url"

0 commit comments

Comments
 (0)