Skip to content

Commit 6f9b327

Browse files
committed
fix: add erlang version fetch for heroku-24
1 parent 0bb266d commit 6f9b327

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/canonical_version.sh

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ fetch_erlang_versions() {
3333
url="https://builds.hex.pm/builds/otp/ubuntu-22.04/builds.txt"
3434
curl -s "$url" | awk '/^OTP-([0-9.]+ )/ {print substr($1,5)}'
3535
;;
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+
;;
3640
*)
3741
url="https://raw.githubusercontent.com/HashNuke/heroku-buildpack-elixir-otp-builds/master/otp-versions"
3842
curl -s "$url"

0 commit comments

Comments
 (0)