Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
/ NuGet.Jobs Public archive

Commit

Permalink
Sign the NuGet packages produced by the build (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelverhagen committed Mar 15, 2019
1 parent d073c5a commit 1e9b263
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="xunit.runner.console" version="2.1.0" />
<package id="xunit.runner.visualstudio" version="2.1.0" />
</packages>
7 changes: 6 additions & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ param (
[string]$SemanticVersion = '1.0.0-zlocal',
[string]$Branch = 'zlocal',
[string]$CommitSHA,
[string]$BuildBranch = 'b5f9d1c89da96c462935e2195ceb00e69287b93e'
[string]$BuildBranch = '2d8feecabe3aeaed7f5b4d50b9be78c94faf39ec'
)

$msBuildVersion = 15;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1e9b263

Please sign in to comment.