File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 27
27
<MicrosoftNETSdkRazorPackageVersion >2.1.2</MicrosoftNETSdkRazorPackageVersion >
28
28
</PropertyGroup >
29
29
30
+ <!-- Build stabilization properties as passed in by ProdCon. -->
31
+ <PropertyGroup >
32
+ <UseStableVersions Condition =" '$(UseStableVersions)' == ''" >true</UseStableVersions >
33
+ <VersionStamp Condition =" '$(VersionStamp)' == ''" ></VersionStamp >
34
+ </PropertyGroup >
35
+
30
36
<ItemGroup >
31
37
<!-- Get ILAsm tool version from CoreCLR. -->
32
38
<RemoteDependencyBuildInfo Include =" CoreClr" >
Original file line number Diff line number Diff line change 100
100
101
101
<!-- Produce stable versions for RTM only. When https://github.com/dotnet/source-build/issues/550
102
102
is fixed we will be able to determine this automatically. -->
103
- <EnvironmentVariables Include =" DropSuffix=true " />
103
+ <EnvironmentVariables Include =" DropSuffix=$(UseStableVersions) " />
104
104
</ItemGroup >
105
105
106
106
<Target Name =" AddProdConFeed" BeforeTargets =" Build" DependsOnTargets =" GetProdConBlobFeedUrl" >
Original file line number Diff line number Diff line change 42
42
<ProjectBuildReason Condition =" '$(OfflineBuild)' == 'true'" >$(ProjectBuildReason) in tarball</ProjectBuildReason >
43
43
</PropertyGroup >
44
44
45
- <!-- for RTM only, default to stabilized builds because that's what matches the official builds -->
46
- <!-- once https://github.com/dotnet/source-build/issues/550 is fixed we will be able to determine this automatically -->
47
- <PropertyGroup >
48
- <UseStableVersions Condition =" '$(UseStableVersions)' == ''" >true</UseStableVersions >
49
- </PropertyGroup >
50
-
51
45
<ItemGroup >
52
46
<EnvironmentVariables Include =" DOTNET_TOOL_DIR=$(DotNetCliToolDir)" />
53
47
<EnvironmentVariables Include =" BUILD_TOOLS_TOOL_DIR=$(ProjectDir)Tools/" />
58
52
<EnvironmentVariables Include =" DotNetBuildOffline=true" Condition =" '$(OfflineBuild)' == 'true'" />
59
53
<EnvironmentVariables Include =" DotNetCoreSdkDir=$(DotNetCliToolDir)" />
60
54
<EnvironmentVariables Include =" DotNetBuildToolsDir=$(ProjectDir)Tools/" />
55
+
61
56
<EnvironmentVariables Include =" StabilizePackageVersion=$(UseStableVersions)" Condition =" '$(UseStableVersions)' != ''" />
62
57
<EnvironmentVariables Include =" PB_IsStable=$(UseStableVersions)" Condition =" '$(UseStableVersions)' != ''" />
58
+
63
59
<EnvironmentVariables Include =" PackageVersionStamp=$(VersionStamp)" Condition =" '$(VersionStamp)' != ''" />
60
+ <EnvironmentVariables Include =" PB_VersionStamp=$(VersionStamp)" Condition =" '$(VersionStamp)' != ''" />
64
61
65
62
<!-- If MSBuild exits early, make sure debug output like 'MSBuild_*.failure.txt' ends up in a place we can see it. -->
66
63
<EnvironmentVariables Include =" MSBUILDDEBUGPATH=$(MSBuildDebugPathTargetDir)" />
You can’t perform that action at this time.
0 commit comments