* Update pull-all to perform pull in parallel
* Fix formatting for pull
This commit is contained in:
parent
3de5db0c78
commit
70517d64a8
|
|
@ -139,15 +139,15 @@ var buildTarget = "compile"
|
||||||
|
|
||||||
#check-update-release
|
#check-update-release
|
||||||
@{
|
@{
|
||||||
Parallel.ForEach(GetAllRepos(), repo=>{CloneOrUpdate(repo);});
|
Parallel.ForEach(GetAllRepos(), CloneOrUpdate);
|
||||||
|
|
||||||
Log.Info("************************************* Checking repos for diffs *************************");
|
Log.Info("************************************* Checking repos for diffs *************************");
|
||||||
|
|
||||||
Parallel.ForEach(GetAllRepos(), repo=>{
|
foreach (var repo in GetAllRepos())
|
||||||
Log.Info("Checking repo: " + repo);
|
{
|
||||||
|
Log.Info("Checking repo: " + repo);
|
||||||
GitCommand(repo, "log origin/dev..origin/release");
|
GitCommand(repo, "log origin/dev..origin/release");
|
||||||
});
|
}
|
||||||
|
|
||||||
Log.Info("If there are no conflicts in the repos, continue with the 'update-release' target");
|
Log.Info("If there are no conflicts in the repos, continue with the 'update-release' target");
|
||||||
}
|
}
|
||||||
|
|
@ -172,8 +172,7 @@ var buildTarget = "compile"
|
||||||
}
|
}
|
||||||
|
|
||||||
#pull-all
|
#pull-all
|
||||||
for each='var repo in GetAllRepos()'
|
-Parallel.ForEach(GetAllRepos(), CloneOrUpdate);
|
||||||
-CloneOrUpdate(repo);
|
|
||||||
|
|
||||||
#update-master
|
#update-master
|
||||||
-// Merge release branch to master
|
-// Merge release branch to master
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue