Code-sign the Microsoft.AspNetCore.AspNetCoreModule{V2} packages

This commit is contained in:
Nate McMaster 2018-10-22 09:32:07 -07:00
parent 804fc191f6
commit 79d098045b
No known key found for this signature in database
GPG Key ID: A778D9601BD78810
3 changed files with 14 additions and 8 deletions

View File

@ -2,7 +2,6 @@
<Import Project="dependencies.props" /> <Import Project="dependencies.props" />
<PropertyGroup> <PropertyGroup>
<AssemblySigningCertName>Microsoft400</AssemblySigningCertName>
<AncmZipOutputPath>$(BuildDir)AspNetCoreModule.zip</AncmZipOutputPath> <AncmZipOutputPath>$(BuildDir)AspNetCoreModule.zip</AncmZipOutputPath>
<StressTestWebSiteZipOutputPath>$(BuildDir)StressTestWebSite.zip</StressTestWebSiteZipOutputPath> <StressTestWebSiteZipOutputPath>$(BuildDir)StressTestWebSite.zip</StressTestWebSiteZipOutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -35,22 +35,29 @@
</Target> </Target>
<Target Name="GetNativeArtifactsInfo"> <Target Name="GetNativeArtifactsInfo">
<PropertyGroup>
<AncmPackageOutputPath>$(BuildDir)Microsoft.AspNetCore.AspNetCoreModule.$(PackageVersion).nupkg</AncmPackageOutputPath>
<AncmV2PackageOutputPath>$(BuildDir)Microsoft.AspNetCore.AspNetCoreModuleV2.$(PackageVersion).nupkg</AncmV2PackageOutputPath>
</PropertyGroup>
<ItemGroup Condition=" '$(OS)' == 'Windows_NT' "> <ItemGroup Condition=" '$(OS)' == 'Windows_NT' ">
<ArtifactInfo Include="$(BuildDir)Microsoft.AspNetCore.AspNetCoreModule.$(PackageVersion).nupkg"> <ArtifactInfo Include="$(AncmPackageOutputPath)">
<ArtifactType>NuGetPackage</ArtifactType> <ArtifactType>NuGetPackage</ArtifactType>
<PackageId>Microsoft.AspNetCore.AspNetCoreModule</PackageId> <PackageId>Microsoft.AspNetCore.AspNetCoreModule</PackageId>
<Version>$(PackageVersion)</Version> <Version>$(PackageVersion)</Version>
<RepositoryRoot>$(RepositoryRoot)</RepositoryRoot> <RepositoryRoot>$(RepositoryRoot)</RepositoryRoot>
</ArtifactInfo> </ArtifactInfo>
<FilesToExcludeFromSigning Include="$(BuildDir)Microsoft.AspNetCore.AspNetCoreModule.$(PackageVersion).nupkg" /> <FilesToSign Include="$(AncmPackageOutputPath)" Certificate="$(PackageSigningCertName)" />
<FilesToSign Include="$(RepositoryRoot)tools\installancm.ps1" Container="$(AncmPackageOutputPath)" Certificate="$(PowerShellSigningCertName)" />
<ArtifactInfo Include="$(BuildDir)Microsoft.AspNetCore.AspNetCoreModuleV2.$(PackageVersion).nupkg"> <ArtifactInfo Include="$(AncmV2PackageOutputPath)">
<ArtifactType>NuGetPackage</ArtifactType> <ArtifactType>NuGetPackage</ArtifactType>
<PackageId>Microsoft.AspNetCore.AspNetCoreModuleV2</PackageId> <PackageId>Microsoft.AspNetCore.AspNetCoreModuleV2</PackageId>
<Version>$(PackageVersion)</Version> <Version>$(PackageVersion)</Version>
<RepositoryRoot>$(RepositoryRoot)</RepositoryRoot> <RepositoryRoot>$(RepositoryRoot)</RepositoryRoot>
</ArtifactInfo> </ArtifactInfo>
<FilesToExcludeFromSigning Include="$(BuildDir)Microsoft.AspNetCore.AspNetCoreModuleV2.$(PackageVersion).nupkg" /> <FilesToSign Include="$(AncmV2PackageOutputPath)" Certificate="$(PackageSigningCertName)" />
<FilesToSign Include="$(RepositoryRoot)tools\installancm.ps1" Container="$(AncmV2PackageOutputPath)" Certificate="$(PowerShellSigningCertName)" />
<ArtifactInfo Include="$(AncmZipOutputPath)"> <ArtifactInfo Include="$(AncmZipOutputPath)">
<ArtifactType>ZipArchive</ArtifactType> <ArtifactType>ZipArchive</ArtifactType>
@ -66,7 +73,7 @@
<FilesToSign Include="$(AncmZipOutputPath)" Certificate="None" IsContainer="true" /> <FilesToSign Include="$(AncmZipOutputPath)" Certificate="None" IsContainer="true" />
<FilesToExcludeFromSigning Include="$(StressTestWebSiteZipOutputPath)" /> <FilesToExcludeFromSigning Include="$(StressTestWebSiteZipOutputPath)" />
<FilesToExcludeFromSigning Include="AspNetCore\ancm.mof" Container="$(BuildDir)Microsoft.AspNetCore.AspNetCoreModuleV2.$(PackageVersion).nupkg" /> <FilesToExcludeFromSigning Include="AspNetCore\ancm.mof" Container="$(AncmV2PackageOutputPath)" />
</ItemGroup> </ItemGroup>
</Target> </Target>

View File

@ -1,2 +1,2 @@
version:2.2.0-preview2-20181016.3 version:2.2.0-preview2-20181019.5
commithash:17ee7986dbe75408d9e4efd94eab1003adcc3ad7 commithash:84a1c04b13bd7127728fee91989db8f2f58c8781