Skip to content

Commit

Permalink
fix: add erlang version fetch for heroku-24
Browse files Browse the repository at this point in the history
  • Loading branch information
gigatim committed May 1, 2024
1 parent 0bb266d commit 6f9b327
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/canonical_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,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

0 comments on commit 6f9b327

Please sign in to comment.