Skip to content

Commit

Permalink
Move FilesToSign logic into UpgradeAssistant.Mappings.csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Aug 14, 2024
1 parent 977216d commit d6e2afe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 1 addition & 6 deletions azure-pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,5 @@ extends:
displayName: Build Mappings NuGet package
inputs:
solution: src\UpgradeAssistant.Mappings\UpgradeAssistant.Mappings.csproj
msbuildArgs: /t:Pack /p:PublicRelease=$(Build.OfficialRelease) /p:TimestampPackage=$(TimestampPackage) /p:PackageOutputPath="$(Build.ArtifactStagingDirectory)\UnsignedPackages"
msbuildArgs: /t:Pack /p:PublicRelease=$(Build.OfficialRelease) /p:TimestampPackage=$(TimestampPackage) /p:PackageOutputPath="$(Build.ArtifactStagingDirectory)\Packages"
configuration: release
- task: MSBuild@1
displayName: 'Sign Mappings NuGet Package'
inputs:
solution: 'azure-pipelines\nuget-package.signproj'
msbuildArguments: '/t:Sign /v:diagnostic /p:OutDir=$(Build.ArtifactStagingDirectory)\Packages /p:UnsignedPackagesPath=$(Build.ArtifactStagingDirectory)\UnsignedPackages'
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,10 @@
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<FilesToSign Include="$(PackageOutputPath)\*.nupkg">
<Authenticode>NuGet</Authenticode>
</FilesToSign>
</ItemGroup>

</Project>

0 comments on commit d6e2afe

Please sign in to comment.