This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 2020 <Error Condition =" '@(ForPublishing)' == ''" Text =" No items were found matching pattern '$(PublishPattern)'." />
2121 </Target >
2222
23- <PropertyGroup >
24- <PublishPattern Condition =" '$(PublishPattern)' == ''" >$(PackagesBinDir)**\*.nupkg</PublishPattern >
25- </PropertyGroup >
26-
23+ <!-- Set up publish patterns for "final" package publish - that is, the pipeline packages we download & publish to myget during official builds -->
2724 <PropertyGroup >
2825 <PackageDownloadDirectory Condition =" '$(DownloadDirectory)' == ''" >$(PackagesDir)AzureTransfer\$(ConfigurationGroup)</PackageDownloadDirectory >
2926 <FinalPublishPattern >$(PackageDownloadDirectory)\**\*.nupkg</FinalPublishPattern >
3330 <OutDir >$(PackageDownloadDirectory)</OutDir >
3431 </PropertyGroup >
3532
33+ <PropertyGroup >
34+ <!-- If we're re-publishing signed final packages, use the location of the downloaded pipeline packages -->
35+ <PublishPattern Condition =" '$(PublishPattern)' == '' and '$(RepublishSignedFinalPackages)' == 'true'" >$(FinalPublishPattern)</PublishPattern >
36+ <!-- Otherwise, publish the packages built locally -->
37+ <PublishPattern Condition =" '$(PublishPattern)' == ''" >$(PackagesBinDir)**\*.nupkg</PublishPattern >
38+ </PropertyGroup >
39+
3640 <Target Name =" GetPackagesToSign" >
3741 <ItemGroup >
3842 <FilesToSign Include =" $(FinalPublishPattern)" Exclude =" $(FinalPublishPrivatePattern);$(FinalSymbolsPackagesPattern)" >
You can’t perform that action at this time.
0 commit comments