Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLUTTER_VERSION variable do not work, throws error every time #17

Open
danielgomezrico opened this issue Sep 6, 2023 · 0 comments
Open

Comments

@danielgomezrico
Copy link

danielgomezrico commented Sep 6, 2023

I found that this pack always try to build the app with the latest flutter version available, tho the docs says that if you set the variable FLUTTER_VERSION it should install it, but it throws an error, out example:

-----> Restoring Flutter SDK from CACHE
Building flutter tool...
-----> Installing Flutter SDK version : 3.13.2
Could not find a command named "version".
Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.

Related to:

Idea

The way to install new version of flutter is not using flutter version because that command do not exist, it is bad here:
https://github.com/diezep/heroku-buildpack-flutter/blob/eecebf9581129aa31f587cdf41ec2a3cbf0fdbe4/bin/compile#L48C11-L48C26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant