Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions eng/Publishing.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
<!--
During PR Validation we only need to publish symbols with Arcade,
since our packages are published separately to the CoreXT feed.

Also, do not publish any symbols packages in source-only builds.
-->
<Target Name="_ResolvePublishRoslynNuGetPackages"
DependsOnTargets="BeforePublish"
BeforeTargets="PublishToAzureDevOpsArtifacts"
Condition=" '$(PreReleaseVersionLabel)' == 'pr-validation' ">
Condition=" '$(PreReleaseVersionLabel)' == 'pr-validation' or '$(DotNetBuildSourceOnly)' == 'true' ">

<ItemGroup>
<!-- Determine all NuGet packages being published -->
<_NuGetPackagesToPush Include="@(ItemsToPushToBlobFeed)"
Expand All @@ -30,13 +33,25 @@
<!-- Determine all symbol packages being published -->
<_SymbolPackagesToPush Include="@(_NuGetPackagesToPush)"
Condition="$([System.String]::Copy(%(FullPath)).EndsWith('.symbols.nupkg'))" />
<_SymbolPackagesToPush Include="@(_NuGetPackagesToPush)"
Condition="$([System.String]::Copy(%(FullPath)).Contains('.Symbols.'))" />
</ItemGroup>

<ItemGroup Condition=" '$(PreReleaseVersionLabel)' == 'pr-validation' ">
<!-- Remove all NuGet packages from being published -->
<ItemsToPushToBlobFeed Remove="@(_NuGetPackagesToPush)" />
</ItemGroup>

<ItemGroup Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">
<!-- Remove all symbols packages from being published -->
<ItemsToPushToBlobFeed Remove="@(_SymbolPackagesToPush)" />
</ItemGroup>

<!-- Include symbol packages for publishing -->
<ItemGroup Condition=" '$(PreReleaseVersionLabel)' == 'pr-validation' and '$(DotNetBuildSourceOnly)' != 'true' ">
<!-- Include symbol packages for publishing-->
<ItemsToPushToBlobFeed Include="@(_SymbolPackagesToPush)" />
</ItemGroup>

</Target>

</Project>
6 changes: 3 additions & 3 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Dependencies>
<Source Uri="https://github.com/dotnet/dotnet" Mapping="roslyn" Sha="96ac952a7886b565e83acc4c9cef656954ed0686" BarId="276277" />
<Source Uri="https://github.com/dotnet/dotnet" Mapping="roslyn" Sha="c0e325f90fb79db0da6be5128dc292f2aabb264f" BarId="276450" />
<ProductDependencies>
<!-- RoslynAnalyzers reference older builds of Roslyn and this is necessary for SourceBuild. -->
<Dependency Name="Microsoft.CodeAnalysis" Version="3.11.0">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ae1fff344d46976624e68ae17164e0607ab68b10</Sha>
</Dependency>
<Dependency Name="System.CommandLine" Version="2.0.0-beta7.25372.103">
<Dependency Name="System.CommandLine" Version="2.0.0-beta7.25373.104">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>96ac952a7886b565e83acc4c9cef656954ed0686</Sha>
<Sha>c0e325f90fb79db0da6be5128dc292f2aabb264f</Sha>
</Dependency>
<!-- Necessary for source-build. This allows the live version of the package to be used by source-build. -->
<Dependency Name="Microsoft.Bcl.AsyncInterfaces" Version="9.0.0">
Expand Down
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
Versions managed by Arcade (see Versions.Details.xml)
-->
<PropertyGroup>
<SystemCommandLineVersion>2.0.0-beta7.25372.103</SystemCommandLineVersion>
<SystemCommandLineVersion>2.0.0-beta7.25373.104</SystemCommandLineVersion>
<SystemCompositionVersion>9.0.0</SystemCompositionVersion>
<SystemConfigurationConfigurationManagerVersion>9.0.0</SystemConfigurationConfigurationManagerVersion>
<SystemDiagnosticsEventLogVersion>9.0.0</SystemDiagnosticsEventLogVersion>
Expand Down