Merge pull request #3225 from eerhardt/RemoveVersionsRepoUpdate

Remove updating dotnet/versions repo with the latest shared framework version.
This commit is contained in:
Eric Erhardt 2016-05-24 18:40:59 -05:00
commit 62afa28de4
2 changed files with 0 additions and 9 deletions

View file

@ -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()

View file

@ -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)