codemagic-ci-cd / flutter-desktop-docker

MIT License
0 stars 3 forks source link

Don't use --depth 1 while cloning flutter #4

Closed BondarenkoStas closed 3 years ago

BondarenkoStas commented 3 years ago

Shallow clone results into Flutter version Flutter 0.0.0-unknown which fail builds since most of flutter repos have constraints e.g.

environment:
  sdk: ">=2.1.0 <3.0.0"
  flutter: ">=1.12.13+hotfix.5 <2.0.0"

It was introduced 4 days ago here https://github.com/codemagic-ci-cd/flutter-desktop-docker/commit/d3acca4ee20614c237a3ba04d34342a1f5a1389e#diff-caf90169eefa5f807d577486b9f795ab86ae2983c5c20806cff959117e90af18