Unverified Commit 626886e9 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

Do not upload all pub packages into the zip bundle (#61488)

Remove git dependencies from pub-cache

#61487
parent 51fcf8fa
......@@ -370,6 +370,12 @@ class ArchiveCreator {
await _runGit(<String>['clean', '-f', '-X', '**/.packages']);
/// Remove package_config files and any contents in .dart_tool
await _runGit(<String>['clean', '-f', '-X', '**/.dart_tool']);
/// Remove git subfolder from .pub-cache, this contains the flutter goldens
/// and new flutter_gallery.
final Directory gitCache = Directory(path.join(flutterRoot.absolute.path, '.pub-cache', 'git'));
if (gitCache.existsSync()) {
gitCache.deleteSync(recursive: true);
}
}
/// Write the archive to the given output file.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment