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