Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* Erlang - Prebuilt packages (17.5, 17.4, etc)
* The full list of prebuilt packages can be found here:
* gigalixir-20 or heroku-20 stacks: https://builds.hex.pm/builds/otp/ubuntu-20.04/builds.txt
* heroku-22 stacks: https://builds.hex.pm/builds/otp/ubuntu-22.04/builds.txt
* gigalixir-22 or heroku-22 stacks: https://builds.hex.pm/builds/otp/ubuntu-22.04/builds.txt
* gigalixir-24 or heroku-24 stacks: https://builds.hex.pm/builds/otp/ubuntu-24.04/builds.txt
* All other stacks: https://github.com/HashNuke/heroku-buildpack-elixir-otp-builds/blob/master/otp-versions
* Elixir - Prebuilt releases (1.0.4, 1.0.3, etc) or prebuilt branches (master, v1.7, etc)
* The full list of releases can be found here: https://github.com/elixir-lang/elixir/releases
Expand Down
7 changes: 7 additions & 0 deletions lib/canonical_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ erlang_builds_url() {
"heroku-22")
erlang_builds_url="https://builds.hex.pm/builds/otp/ubuntu-22.04"
;;
"heroku-24")
erlang_builds_url="https://builds.hex.pm/builds/otp/ubuntu-24.04"
;;
*)
erlang_builds_url="https://s3.amazonaws.com/heroku-buildpack-elixir/erlang/cedar-14"
;;
Expand All @@ -30,6 +33,10 @@ fetch_erlang_versions() {
url="https://builds.hex.pm/builds/otp/ubuntu-22.04/builds.txt"
curl -s "$url" | awk '/^OTP-([0-9.]+ )/ {print substr($1,5)}'
;;
"heroku-24")
url="https://builds.hex.pm/builds/otp/ubuntu-24.04/builds.txt"
curl -s "$url" | awk '/^OTP-([0-9.]+ )/ {print substr($1,5)}'
;;
*)
url="https://raw.githubusercontent.com/HashNuke/heroku-buildpack-elixir-otp-builds/master/otp-versions"
curl -s "$url"
Expand Down