Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 6119a29

Browse files
committed
Reenable UpdateVersionsRepo
Now that dotnet/buildtools#1547 is fixed.
1 parent f4d884a commit 6119a29

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build/DependencyVersions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
<!-- infrastructure and test only dependencies -->
4343
<PropertyGroup>
44-
<VersionToolsVersion>1.0.27-prerelease-01611-04</VersionToolsVersion>
44+
<VersionToolsVersion>1.0.27-prerelease-01723-01</VersionToolsVersion>
4545
<DotnetDebToolVersion>2.0.0-preview2-25331-01</DotnetDebToolVersion>
4646
</PropertyGroup>
4747
</Project>

build/publish/FinishBuild.targets

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@
5454
CommitHash="$(CommitHash)"
5555
Coherent="$(Coherent)" />
5656

57-
<!-- Uncomment the line below when https://github.com/dotnet/buildtools/issues/1547 gets fixed. -->
58-
<!-- <UpdateVersionsRepo BranchName="$(BranchName)"
57+
<UpdateVersionsRepo BranchName="$(BranchName)"
5958
PackagesDirectory="$(PackagesDirectory)"
60-
GitHubPassword="$(GITHUB_PASSWORD)" /> -->
59+
GitHubPassword="$(GITHUB_PASSWORD)" />
6160
</Target>
6261
</Project>

build_projects/update-dependencies/Config.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ private static string GetDefaultUpstreamBranch()
8282

8383
private static string GetDefaultCoreSetupVersionFragment()
8484
{
85-
string coreSetupChannel = GetRepoMSBuildPropValue("BundledRuntimes.props", "CoreSetupChannel") ?? "master";
85+
// by default, the current core-setup branch should match the current cli branch name
86+
string coreSetupChannel = Instance.GitHubUpstreamBranch;
8687

8788
return $"dotnet/core-setup/{coreSetupChannel}";
8889
}

0 commit comments

Comments
 (0)