diff --git a/build/dependencies.props b/build/dependencies.props
index 4e317c2070..965160864c 100644
--- a/build/dependencies.props
+++ b/build/dependencies.props
@@ -2,14 +2,8 @@
- 2.1.5-servicing-26906-03
- 2.1.5-servicing-26906-03
- 4.5.0
- 4.5.1
- 4.5.0
- 4.5.1
- 4.5.1
- 4.5.0
+ 2.1.5
+ 2.1.5
@@ -112,19 +106,25 @@
1.5.0
4.5.0
4.5.1
+ 4.5.1
4.5.0
5.2.0
3.1.1
+ 4.5.2
4.5.1
4.3.2
+ 4.5.1
+ 4.5.2
4.5.0
3.1.1
4.3.0
1.6.0
+ 4.5.2
4.3.0
4.5.0
4.5.0
4.5.0
+ 4.5.1
4.5.0
4.5.0
4.5.0
diff --git a/scripts/UpdateDependencies.ps1 b/scripts/UpdateDependencies.ps1
index 8708eee27b..f8bfdac4fb 100755
--- a/scripts/UpdateDependencies.ps1
+++ b/scripts/UpdateDependencies.ps1
@@ -57,8 +57,10 @@ foreach ($package in $remoteDeps.SelectNodes('//Package')) {
$currentBranch = Invoke-Block { & git rev-parse --abbrev-ref HEAD }
-$destinationBranch = "dotnetbot/UpdateDeps"
-Invoke-Block { & git checkout -tb $destinationBranch "origin/$GithubUpstreamBranch" }
+if (-not $NoCommit) {
+ $destinationBranch = "dotnetbot/UpdateDeps"
+ Invoke-Block { & git checkout -tb $destinationBranch "origin/$GithubUpstreamBranch" }
+}
try {
$updatedVars = UpdateVersions $variables $dependencies $depsPath