Skip to content

Commit fb7e019

Browse files
committed
Do not publish packages via arcade from Roslyn's official build
1 parent 3e63087 commit fb7e019

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

eng/Publishing.props

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@
1515
</ItemGroup>
1616

1717
<!--
18-
During PR Validation we only need to publish symbols with Arcade,
19-
since our packages are published separately to the CoreXT feed.
18+
In the Roslyn official build, we only want to publish symbols with Arcade.
19+
Packages for VS are published separately to the CoreXT feed.
20+
Roslyn official packages are produced by the VMR build.
2021
2122
Also, do not publish any symbols packages in source-only builds.
2223
-->
2324
<Target Name="_ResolvePublishRoslynNuGetPackages"
2425
DependsOnTargets="BeforePublish"
2526
BeforeTargets="PublishToAzureDevOpsArtifacts"
26-
Condition=" '$(PreReleaseVersionLabel)' == 'pr-validation' or '$(DotNetBuildSourceOnly)' == 'true' ">
27+
Condition=" '$(DotNetBuildFromVMR)' != 'true' or '$(DotNetBuildSourceOnly)' == 'true' ">
2728

2829
<ItemGroup>
2930
<!-- Determine all NuGet packages being published -->
@@ -37,7 +38,7 @@
3738
Condition="$([System.String]::Copy(%(FullPath)).Contains('.Symbols.'))" />
3839
</ItemGroup>
3940

40-
<ItemGroup Condition=" '$(PreReleaseVersionLabel)' == 'pr-validation' ">
41+
<ItemGroup Condition=" '$(DotNetBuildFromVMR)' != 'true' ">
4142
<!-- Remove all NuGet packages from being published -->
4243
<ItemsToPushToBlobFeed Remove="@(_NuGetPackagesToPush)" />
4344
</ItemGroup>

0 commit comments

Comments
 (0)