File tree Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 58
58
59
59
<Import Project =" eng\Baseline.Designer.props" />
60
60
61
- <PropertyGroup Condition =" '$(IsPackable)' != 'false' AND '$(AspNetCorePatchVersion)' != '0' " >
62
- <!--
63
- Build entire repo while we settle the infrastructure; ignore PatchConfig.props.
64
- Do _not_ do this when stabilizing versions.
65
- -->
66
- <IsPackageInThisPatch
67
- Condition =" '$(IsPackageInThisPatch)' == '' AND '$(StabilizePackageVersion)' != 'true'" >true</IsPackageInThisPatch >
61
+ <PropertyGroup
62
+ Condition =" '$(IsPackable)' != 'false' AND '$(AspNetCorePatchVersion)' != '0' AND '$(DisableServicingFeatures)' != 'true' " >
68
63
<IsPackageInThisPatch Condition =" '$(IsPackageInThisPatch)' == ''" >$(PackagesInPatch.Contains(' $(PackageId);'))</IsPackageInThisPatch >
69
64
</PropertyGroup >
70
65
Original file line number Diff line number Diff line change 27
27
<!-- Additional assembly attributes are already configured to include the source revision ID. -->
28
28
<IncludeSourceRevisionInInformationalVersion >false</IncludeSourceRevisionInInformationalVersion >
29
29
<!--
30
- Until package baselines are updated (see aspnet/AspNetCore#12702), ignore them.
31
- Do _not_ do this when stabilizing versions.
30
+ Until package baselines are updated (see aspnet/AspNetCore#12702), ignore them and PatchConfig.props. This also
31
+ gives us time to build the entire repo and settle the infrastructure. Do _not_ do this when stabilizing versions.
32
32
-->
33
- <IgnorePackageBaselines Condition =" '$(StabilizePackageVersion)' != 'true' " >true</IgnorePackageBaselines >
33
+ <DisableServicingFeatures
34
+ Condition =" '$(DisableServicingFeatures)' == '' AND '$(StabilizePackageVersion)' != 'true' " >true</DisableServicingFeatures >
34
35
<!-- Servicing builds have different characteristics for the way dependencies, baselines, and versions are handled. -->
35
- <IsServicingBuild Condition =" '$(PreReleaseVersionLabel)' == 'servicing' " >true</IsServicingBuild >
36
+ <IsServicingBuild
37
+ Condition =" '$(DisableServicingFeatures)' != 'true' AND '$(PreReleaseVersionLabel)' == 'servicing' " >true</IsServicingBuild >
36
38
<VersionPrefix >$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion)</VersionPrefix >
37
39
<!-- TargetingPackVersionPrefix is used by projects, like .deb and .rpm, which use slightly different version formats. -->
38
40
<TargetingPackVersionPrefix >$(VersionPrefix)</TargetingPackVersionPrefix >
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
3
3
<Target Name =" EnsureBaselineIsUpdated"
4
- Condition =" '$(IsServicingBuild)' == 'true' AND '$(IgnorePackageBaselines)' != 'true' AND '$( AspNetCoreBaselineVersion)' != '$(PreviousAspNetCoreReleaseVersion)'"
4
+ Condition =" '$(IsServicingBuild)' == 'true' AND '$(AspNetCoreBaselineVersion)' != '$(PreviousAspNetCoreReleaseVersion)'"
5
5
BeforeTargets =" BeforeBuild" >
6
6
<Error Text =" The package baseline ($(AspNetCoreBaselineVersion)) is out of date with the latest release of this repo ($(PreviousAspNetCoreReleaseVersion)).
7
7
See $(RepoRoot)eng\tools\BaselineGenerator\README.md for instructions on updating this baseline." />
Original file line number Diff line number Diff line change 36
36
-->
37
37
<UseLatestPackageReferences Condition =" '$(UseLatestPackageReferences)' == '' AND '$(IsServicingBuild)' != 'true' " >true</UseLatestPackageReferences >
38
38
<UseLatestPackageReferences Condition =" '$(UseLatestPackageReferences)' == '' AND '$(IsImplementationProject)' != 'true' " >true</UseLatestPackageReferences >
39
- <UseLatestPackageReferences Condition =" '$(UseLatestPackageReferences)' == '' AND '$(IsImplementationProject)' == 'true' AND ( '$(IsServicingBuild)' != 'true' OR '$(IsPackable)' == 'true' ) " >true</UseLatestPackageReferences >
39
+ <UseLatestPackageReferences
40
+ Condition =" '$(UseLatestPackageReferences)' == '' AND '$(IsImplementationProject)' == 'true' AND '$(IsPackable)' == 'true' " >true</UseLatestPackageReferences >
40
41
<UseLatestPackageReferences Condition =" '$(UseLatestPackageReferences)' == '' " >false</UseLatestPackageReferences >
41
42
42
43
<!--
45
46
* when a project is a test or sample project
46
47
We don't use project references between components in servicing builds between compontents to preserve the baseline as much as possible.
47
48
-->
48
- <UseProjectReferences Condition =" '$(UseProjectReferences)' == '' AND '$(IgnorePackageBaselines)' == 'true' " >true</UseProjectReferences >
49
49
<UseProjectReferences Condition =" '$(UseProjectReferences)' == '' AND '$(IsServicingBuild)' != 'true' " >true</UseProjectReferences >
50
50
<UseProjectReferences Condition =" '$(UseProjectReferences)' == '' AND '$(IsImplementationProject)' != 'true' " >true</UseProjectReferences >
51
51
<UseProjectReferences Condition =" '$(UseProjectReferences)' == '' " >false</UseProjectReferences >
You can’t perform that action at this time.
0 commit comments