Merge pull request #5870 from ellismg/make-update-dependencies-idempotent
Make update-dependencies idempotent in the only update case
This commit is contained in:
commit
958fc85962
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ namespace Microsoft.DotNet.Scripts
|
|||
disabledPackages: Enumerable.Empty<string>()));
|
||||
DependencyUpdateResults updateResults = DependencyUpdateUtils.Update(updaters, dependencyBuildInfos);
|
||||
|
||||
if (updateResults.ChangesDetected() && !onlyUpdate)
|
||||
if (!onlyUpdate && updateResults.ChangesDetected())
|
||||
{
|
||||
GitHubAuth gitHubAuth = new GitHubAuth(s_config.Password, s_config.UserName, s_config.Email);
|
||||
GitHubProject origin = new GitHubProject(s_config.GitHubProject, s_config.UserName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue