Skip to content

Commit

Permalink
consolidate build yamls files
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed Sep 12, 2018
1 parent 6baca53 commit 68076b0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 28 deletions.
20 changes: 17 additions & 3 deletions build/vsts-build.yml → .azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
parameters:
signStep: []
trigger:
- master
- rel/*

queue: Hosted VS2017

variables:
BuildConfiguration: Release

steps:
- task: BatchScript@1
Expand Down Expand Up @@ -32,7 +38,15 @@ steps:
- powershell: .\build\build.ps1 -target=Package
displayName: Build

- ${{ parameters.signStep }}
- task: PowerShell@2
displayName: Authenticode Sign Packages
inputs:
filePath: build/Sign-Package.ps1
env:
SignClientUser: $(SignClientUser)
SignClientSecret: $(SignClientSecret)
ArtifactDirectory: bin\nupkg
condition: and(succeeded(), not(eq(variables['build.reason'], 'PullRequest')), not(eq(variables['SignClientSecret'], '')), not(eq(variables['SignClientUser'], '')))

- task: PublishBuildArtifacts@1
displayName: Publish Package Artifacts
Expand Down
19 changes: 0 additions & 19 deletions .vsts-ci.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .vsts-pr.yml

This file was deleted.

0 comments on commit 68076b0

Please sign in to comment.