Skip to content

Commit

Permalink
Remove -runtime version suffix hack for M.E. (dotnet#34464)
Browse files Browse the repository at this point in the history
  • Loading branch information
maryamariyan committed Apr 3, 2020
1 parent 8259df7 commit 221f869
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<PatchVersion>0</PatchVersion>
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
<PreReleaseVersionIteration>4</PreReleaseVersionIteration>
<PreReleaseVersionIteration Condition="$(MSBuildProjectName.StartsWith('Microsoft.Extensions.'))">$(PreReleaseVersionIteration)-runtime</PreReleaseVersionIteration>
<!-- Set assembly version to align with major and minor version,
as for the patches and revisions should be manually updated per assembly if it is serviced. -->
<AssemblyVersion>$(MajorVersion).$(MinorVersion).0.0</AssemblyVersion>
Expand Down
8 changes: 0 additions & 8 deletions eng/packaging.targets
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,4 @@
'$(_excludeCompile)' == 'true' and
'%(Dependency.Identity)' != '_._'" />
</Target>

<Target Name="UndoExtensionsSuffix" Condition="$(MSBuildProjectName.StartsWith('Microsoft.Extensions'))" BeforeTargets="GenerateNuspec">
<ItemGroup>
<Dependency Condition="!$([System.String]::Copy('%(Dependency.Identity)').StartsWith('Microsoft.Extensions'))">
<Version>$([System.String]::Copy('%(Dependency.Version)').Replace('-runtime', ''))</Version>
</Dependency>
</ItemGroup>
</Target>
</Project>

0 comments on commit 221f869

Please sign in to comment.