Remove updating dotnet/versions repo with the latest shared framework version. This is breaking the build, and it should be done in core-setup instead.
This commit is contained in:
parent
1de1ecc4cb
commit
2a870ee6c3
2 changed files with 0 additions and 9 deletions
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue