diff --git a/build_projects/dotnet-cli-build/PublishTargets.cs b/build_projects/dotnet-cli-build/PublishTargets.cs index 0d2acc82c..fb796dfda 100644 --- a/build_projects/dotnet-cli-build/PublishTargets.cs +++ b/build_projects/dotnet-cli-build/PublishTargets.cs @@ -148,10 +148,6 @@ namespace Microsoft.DotNet.Cli.Build string nugetFeedUrl = EnvVars.EnsureVariable("NUGET_FEED_URL"); string apiKey = EnvVars.EnsureVariable("NUGET_API_KEY"); NuGetUtil.PushPackages(Dirs.PackagesNoRID, nugetFeedUrl, apiKey); - - string githubAuthToken = EnvVars.EnsureVariable("GITHUB_PASSWORD"); - VersionRepoUpdater repoUpdater = new VersionRepoUpdater(githubAuthToken); - repoUpdater.UpdatePublishedVersions(Dirs.PackagesNoRID, $"build-info/dotnet/cli/{GitUtils.GetBranchName()}/CORE_SETUP_LATEST").Wait(); } private static bool CheckIfAllBuildsHavePublished() diff --git a/build_projects/shared-build-targets-utils/Utils/GitUtils.cs b/build_projects/shared-build-targets-utils/Utils/GitUtils.cs index 1484ad65f..bae5c67e6 100644 --- a/build_projects/shared-build-targets-utils/Utils/GitUtils.cs +++ b/build_projects/shared-build-targets-utils/Utils/GitUtils.cs @@ -14,11 +14,6 @@ namespace Microsoft.DotNet.Cli.Build return ExecuteGitCommand("rev-parse", "HEAD"); } - public static string GetBranchName() - { - return ExecuteGitCommand("rev-parse", "--abbrev-ref", "HEAD"); - } - private static string ExecuteGitCommand(params string[] args) { var gitResult = Cmd("git", args)