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 +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 23
23
<PublishPattern Condition =" '$(PublishPattern)' == ''" >$(PackagesBinDir)**\*.nupkg</PublishPattern >
24
24
</PropertyGroup >
25
25
26
+ <PropertyGroup >
27
+ <PackageDownloadDirectory Condition =" '$(DownloadDirectory)' == ''" >$(PackagesDir)AzureTransfer\$(ConfigurationGroup)</PackageDownloadDirectory >
28
+ <FinalPublishPattern >$(PackageDownloadDirectory)\**\*.nupkg</FinalPublishPattern >
29
+ <FinalSymbolsPackagesPattern >$(PackageDownloadDirectory)\**\*.symbols.nupkg</FinalSymbolsPackagesPattern >
30
+ <!-- The SignFiles target needs OutDir to be defined -->
31
+ <OutDir >$(PackageDownloadDirectory)</OutDir >
32
+ </PropertyGroup >
33
+
34
+ <Target Name =" GetPackagesToSign" >
35
+ <ItemGroup >
36
+ <FilesToSign Include =" $(FinalPublishPattern)" Exclude =" $(FinalSymbolsPackagesPattern)" >
37
+ <Authenticode >NuGet</Authenticode >
38
+ </FilesToSign >
39
+ </ItemGroup >
40
+ <Message Importance =" High" Text =" Attempting to sign package '%(FilesToSign.Identity)'" />
41
+ </Target >
42
+
43
+ <Target Name =" SignPackages"
44
+ Condition =" '$(SkipSigning)' != 'true' and '$(SignType)' != 'public'"
45
+ DependsOnTargets =" GetPackagesToSign;SignFiles" >
46
+ </Target >
47
+
26
48
<Target Name =" CreateContainerName"
27
49
DependsOnTargets =" CreateVersionFileDuringBuild"
28
50
Condition =" '$(ContainerName)' == ''" >
You can’t perform that action at this time.
0 commit comments