EE/heroku-buildpack-flutter-light

Could not find remote branch to clone

eliezerp3 opened this issue · 1 comments

Tried using this with FLUTTER_VERSION=2.8.1 in env variables and getting an error that unable to find it. I tried it with mutiple other versions with the same results. Below is the logs

remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Using buildpacks:
remote:        1. ee/heroku-buildpack-flutter-light
remote:        2. heroku-community/static
remote: -----> https://buildpack-registry.s3.amazonaws.com/buildpacks/ee/heroku-buildpack-flutter-light.tgz app detected
remote: -----> Installing SDK from Github repository.
remote: warning: Could not find remote branch v2.8.1 to clone.
remote: fatal: Remote branch v2.8.1 not found in upstream origin
remote:  !     Push rejected, failed to compile https://buildpack-registry.s3.amazonaws.com/buildpacks/ee/heroku-buildpack-flutter-light.tgz app.
remote:
remote:  !     Push failed

Figured it out. You only fixed this bug in master and not in the release on heroku's buildpack registry so when just add "ee/heroku-buildpack-flutter-light" then adds from registry and doesn't work but if add with full github url then works fine. You can close this if you want but i would recommend leaving it up until it is either fixed on the registry or you change the README to use the full github url instead of the one on heroku's buildpack