From 4b111b6e8caa6a0adbf18958df30c1765f7565b2 Mon Sep 17 00:00:00 2001 From: Joel Verhagen Date: Fri, 15 Mar 2019 16:06:57 -0700 Subject: [PATCH] Sign the NuGet packages produced by the build (#724) Progress on https://github.com/NuGet/Engineering/issues/2244 F --- .nuget/packages.config | 1 + build.ps1 | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.nuget/packages.config b/.nuget/packages.config index 58f19ba19..bb7daf160 100644 --- a/.nuget/packages.config +++ b/.nuget/packages.config @@ -1,5 +1,6 @@ + \ No newline at end of file diff --git a/build.ps1 b/build.ps1 index ef83946bf..714fcad3e 100644 --- a/build.ps1 +++ b/build.ps1 @@ -9,7 +9,7 @@ param ( [string]$SemanticVersion = '1.0.0-zlocal', [string]$Branch = 'zlocal', [string]$CommitSHA, - [string]$BuildBranch = 'b5f9d1c89da96c462935e2195ceb00e69287b93e' + [string]$BuildBranch = '2d8feecabe3aeaed7f5b4d50b9be78c94faf39ec' ) $msBuildVersion = 15; @@ -170,6 +170,11 @@ Invoke-BuildStep 'Creating artifacts' { } ` -ev +BuildErrors +Invoke-BuildStep 'Signing the packages' { + Sign-Packages -Configuration $Configuration -BuildNumber $BuildNumber -MSBuildVersion $msBuildVersion ` + } ` + -ev +BuildErrors + Trace-Log ('-' * 60) ## Calculating Build time