Reputation: 996
My Azure DevOps configuration ask CI / CD to install latest version of flutter as you can see in the snapshot:
But Flutter old stable version "2.2.1-stable" is getting install
It seems google has changed their flutter download url so Azure not able to fetch latest version:
Download URL Flutter Stable 2.2.1 (OLD release URL): https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_2.2.1-stable.zip
Download URL Flutter Stable 2.5.1 (New Release URL): https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_2.5.1-stable.zip
They have not added any new release on the old URL so Azure fetching always last stable release which is 2.2.1
Any solutions so Azure DevOps script can download always latest version of Flutter?
Upvotes: 2
Views: 1483
Reputation: 389
To get the latest version you can use:
- script: |
brew install --cask flutter
Upvotes: 0
Reputation: 40683
The extension aloisdeniel/vsts-flutter-tasks seems to be not mantained. Please try use this one Fluttter install - link to extension is here.
Please take a look here also
Just if you stumble across this package. It doesn't seem maintained. Someone was so kind and improved it and is also maintaining it currently. See https://github.com/hey24sheep/azure-flutter-tasks
Upvotes: 4