diff --git a/bin/internal/shared.sh b/bin/internal/shared.sh index 68e9977..24e44a0 100644 --- a/bin/internal/shared.sh +++ b/bin/internal/shared.sh @@ -52,7 +52,7 @@ function update_flutter() { if [[ "$version" != "$(git rev-parse HEAD)" ]]; then git reset --hard git clean -xdf - git fetch --depth=1 "$FLUTTER_REPO" "$version" + git fetch --depth=1 "$FLUTTER_REPO" "$version" --tags git checkout FETCH_HEAD # Invalidate the cache.