Skip to content

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

@danielgomezrico

Description

@danielgomezrico

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions