Skip to content

Commit

Permalink
Sign the NuGet packages produced by the build (NuGet#6999)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelverhagen committed Mar 15, 2019
1 parent 5972daf commit 8851855
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .nuget/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="MicroBuild.Core" version="0.3.0" />
<package id="Microsoft.CodeAnalysis.BinSkim" version="1.3.6" />
<package id="xunit.runner.console" version="2.1.0" />
<package id="xunit.runner.visualstudio" version="2.1.0" />
Expand Down
7 changes: 6 additions & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ param (
[string]$PackageSuffix,
[string]$Branch,
[string]$CommitSHA,
[string]$BuildBranch = '5fd8377a9abf3ff411918dbb973948a6677432db'
[string]$BuildBranch = '2d8feecabe3aeaed7f5b4d50b9be78c94faf39ec'
)

Set-StrictMode -Version 1.0
Expand Down Expand Up @@ -99,6 +99,11 @@ Invoke-BuildStep 'Creating artifacts' { `
} `
-ev +BuildErrors

Invoke-BuildStep 'Signing the packages' {
Sign-Packages -Configuration $Configuration -BuildNumber $BuildNumber -MSBuildVersion "15" `
} `
-ev +BuildErrors

Trace-Log ('-' * 60)

## Calculating Build time
Expand Down

0 comments on commit 8851855

Please sign in to comment.