Skip to content

Commit ddb1618

Browse files
committed
Batch sign the binaries (#89)
Progress on NuGet/Engineering#1821
1 parent 55f68e9 commit ddb1618

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.gitignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,9 @@ src/NuGet.Server/packages/*.bin
209209
*.cache.bin
210210
AssemblyInfo.g.cs
211211
tools
212-
.nuget/CredentialProvider.VSS.exe
213-
.nuget/CredentialProviderBundle.zip
214-
.nuget/EULA_Microsoft Visual Studio Team Services Credential Provider.docx
215-
.nuget/NuGet.exe
216-
.nuget/ThirdPartyNotices.txt
212+
.nuget/credprovider
213+
.nuget/.marker.v*
214+
nuget.exe
217215
Results.*.xml
218216
!**/TestData/*.nupkg
219217
.vs

build.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ param (
99
[string]$SemanticVersion = '1.0.0-zlocal',
1010
[string]$Branch,
1111
[string]$CommitSHA,
12-
[string]$BuildBranch = 'cb2b9e41b18cb77ee644a51951d8c8f24cde9adf'
12+
[string]$BuildBranch = 'd298565f387e93995a179ef8ae6838f1be37904f'
1313
)
1414

1515
$msBuildVersion = 15;
@@ -79,6 +79,11 @@ Invoke-BuildStep 'Building solution' {
7979
} `
8080
-ev +BuildErrors
8181

82+
Invoke-BuildStep 'Signing the binaries' {
83+
Sign-Binaries -Configuration $Configuration -BuildNumber $BuildNumber -MSBuildVersion "15" `
84+
} `
85+
-ev +BuildErrors
86+
8287
Invoke-BuildStep 'Creating artifacts' {
8388
$projects = `
8489
"src\NuGet.Server.Core\NuGet.Server.Core.csproj", `

0 commit comments

Comments
 (0)