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 20
20
<Error Condition =" '@(ForPublishing)' == ''" Text =" No items were found matching pattern '$(PublishPattern)'." />
21
21
</Target >
22
22
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 -->
27
24
<PropertyGroup >
28
25
<PackageDownloadDirectory Condition =" '$(DownloadDirectory)' == ''" >$(PackagesDir)AzureTransfer\$(ConfigurationGroup)</PackageDownloadDirectory >
29
26
<FinalPublishPattern >$(PackageDownloadDirectory)\**\*.nupkg</FinalPublishPattern >
32
29
<OutDir >$(PackageDownloadDirectory)</OutDir >
33
30
</PropertyGroup >
34
31
32
+ <PropertyGroup >
33
+ <!-- If we're re-publishing signed final packages, use the location of the downloaded pipeline packages -->
34
+ <PublishPattern Condition =" '$(PublishPattern)' == '' and '$(RepublishSignedFinalPackages)' == 'true'" >$(FinalPublishPattern)</PublishPattern >
35
+ <!-- Otherwise, publish the packages built locally -->
36
+ <PublishPattern Condition =" '$(PublishPattern)' == ''" >$(PackagesBinDir)**\*.nupkg</PublishPattern >
37
+ </PropertyGroup >
38
+
35
39
<Target Name =" GetPackagesToSign" >
36
40
<ItemGroup >
37
41
<FilesToSign Include =" $(FinalPublishPattern)" Exclude =" $(FinalSymbolsPackagesPattern)" >
You can’t perform that action at this time.
0 commit comments