Skip to content

Commit 8851855

Browse files
committed
Sign the NuGet packages produced by the build (#6999)
Progress on NuGet/Engineering#2244
1 parent 5972daf commit 8851855

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.nuget/packages.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3+
<package id="MicroBuild.Core" version="0.3.0" />
34
<package id="Microsoft.CodeAnalysis.BinSkim" version="1.3.6" />
45
<package id="xunit.runner.console" version="2.1.0" />
56
<package id="xunit.runner.visualstudio" version="2.1.0" />

build.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ param (
1010
[string]$PackageSuffix,
1111
[string]$Branch,
1212
[string]$CommitSHA,
13-
[string]$BuildBranch = '5fd8377a9abf3ff411918dbb973948a6677432db'
13+
[string]$BuildBranch = '2d8feecabe3aeaed7f5b4d50b9be78c94faf39ec'
1414
)
1515

1616
Set-StrictMode -Version 1.0
@@ -99,6 +99,11 @@ Invoke-BuildStep 'Creating artifacts' { `
9999
} `
100100
-ev +BuildErrors
101101

102+
Invoke-BuildStep 'Signing the packages' {
103+
Sign-Packages -Configuration $Configuration -BuildNumber $BuildNumber -MSBuildVersion "15" `
104+
} `
105+
-ev +BuildErrors
106+
102107
Trace-Log ('-' * 60)
103108

104109
## Calculating Build time

0 commit comments

Comments
 (0)