Merged PR 39887: [ internal/release/8.0.1xx] always subtract one from template versions.

Updated Versions.props - always subtract one from template versions.
This commit is contained in:
Sean Reeser 2024-05-21 19:12:17 +00:00
parent 8e4447e494
commit 6503d4fec8

View file

@ -141,6 +141,9 @@
Preview releases already use -1 versionining so don't subtract one for that version.
In public builds, we always use the 2 month old version.
-->
<!-- Subtract one for OOB release, remove this -->
<SubtractOneFromTemplateVersions>true</SubtractOneFromTemplateVersions>
<!-- end remove this-->
<SubtractOneFromTemplateVersions Condition="'$(SYSTEM_TEAMPROJECT)' != 'internal'">true</SubtractOneFromTemplateVersions>
<SubtractOneFromTemplateVersions Condition="$([MSBuild]::Subtract($(VersionFeature), $(MicrosoftNETSdkPatchVersion))) &gt;= 2">true</SubtractOneFromTemplateVersions>
<SubtractOneFromTemplateVersions Condition="$(VersionFeature) &gt;= 1 AND ! $(MicrosoftNETSdkPackageVersion.Contains('rtm')) AND ! $(MicrosoftNETSdkPackageVersion.Contains('servicing'))">true</SubtractOneFromTemplateVersions>