From 67bbe8affae3082bcbb0b8e431ff878fa190d8eb Mon Sep 17 00:00:00 2001 From: Nikola Milosavljevic Date: Thu, 7 Mar 2024 21:52:02 +0000 Subject: [PATCH 1/4] Enable publishing in VMR --- eng/Publishing.props | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/eng/Publishing.props b/eng/Publishing.props index 579a1360d9..c71638ecb4 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -1,7 +1,29 @@ - - 3 - true - - + + 3 + true + $(PublishDependsOnTargets);_PublishPackages + + + + <_PackagesToPublish Remove="@(_PackagesToPublish)" /> + <_PackagesToPublish Include="$(ArtifactsPackagesDir)**\*.nupkg" UploadPathSegment="Roslyn-analyzers" Condition="'$(DotNetBuildRepo)' == 'true'" /> + + + + + + + + + true + + + + + \ No newline at end of file From f62d4c4f329e65cf32a353296ad827ca7ca7fc6a Mon Sep 17 00:00:00 2001 From: Nikola Milosavljevic Date: Mon, 11 Mar 2024 04:00:00 +0000 Subject: [PATCH 2/4] Trim publishing content to minimum required --- eng/Publishing.props | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/eng/Publishing.props b/eng/Publishing.props index c71638ecb4..6f737db685 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -8,18 +8,12 @@ <_PackagesToPublish Remove="@(_PackagesToPublish)" /> - <_PackagesToPublish Include="$(ArtifactsPackagesDir)**\*.nupkg" UploadPathSegment="Roslyn-analyzers" Condition="'$(DotNetBuildRepo)' == 'true'" /> + + <_PackagesToPublish Include="$(ArtifactsPackagesDir)Release\*.nupkg" UploadPathSegment="Roslyn-analyzers" Condition="'$(DotNetBuildSourceOnly)' == 'true'" /> - - - true From 109356ee5515bb8885e80d331862da10fd8943d7 Mon Sep 17 00:00:00 2001 From: Nikola Milosavljevic Date: Mon, 11 Mar 2024 16:42:47 +0000 Subject: [PATCH 3/4] Add reference to tracking issue --- eng/Publishing.props | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eng/Publishing.props b/eng/Publishing.props index 6f737db685..85f06860a9 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -8,7 +8,9 @@ <_PackagesToPublish Remove="@(_PackagesToPublish)" /> - + <_PackagesToPublish Include="$(ArtifactsPackagesDir)Release\*.nupkg" UploadPathSegment="Roslyn-analyzers" Condition="'$(DotNetBuildSourceOnly)' == 'true'" /> From f8fa09b52637c2a770f57a06bc29c2c8ff0fe532 Mon Sep 17 00:00:00 2001 From: Nikola Milosavljevic Date: Thu, 14 Mar 2024 00:29:59 +0000 Subject: [PATCH 4/4] Trim publishing.props file --- eng/Publishing.props | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/eng/Publishing.props b/eng/Publishing.props index 85f06860a9..355f94a015 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -1,25 +1,13 @@ - - 3 true - $(PublishDependsOnTargets);_PublishPackages - <_PackagesToPublish Remove="@(_PackagesToPublish)" /> - - <_PackagesToPublish Include="$(ArtifactsPackagesDir)Release\*.nupkg" UploadPathSegment="Roslyn-analyzers" Condition="'$(DotNetBuildSourceOnly)' == 'true'" /> + - - - - true - - - - \ No newline at end of file