Skip to content

Commit

Permalink
housekeeping: Update nuget package version & cake build script. (#452)
Browse files Browse the repository at this point in the history
* housekeeping: Update nuget package version & cake build script.

* The cake script now matches the ReactiveUI/splat format.
* Now generating results again.
* Updated our cake build version.
* Now using widlcards for the Splat/ReactiveUI versioning
* Removed unneeded duplicates in the PackakgeReference to make it easier to update versions.
* Fix tabbing/spaces issues in the csproj files
  • Loading branch information
glennawatson committed Jan 13, 2019
1 parent 9598aeb commit 857d9ee
Show file tree
Hide file tree
Showing 14 changed files with 514 additions and 183 deletions.
File renamed without changes.
39 changes: 18 additions & 21 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,33 @@ steps:
modifyEnvironment: true
displayName: Setup Environment Variables

- task: DotNetCoreCLI@2
inputs:
command: custom
custom: tool
arguments: install --tool-path . nbgv
displayName: Install NBGV tool

- script: nbgv cloud
displayName: Set Version

- script: build.cmd
displayName: Build
env:
VSTS_ACCESS_TOKEN: $(System.AccessToken)
COVERALLS_TOKEN: $(COVERALLS_TOKEN)
SignClientUser: $(SignClientUser)
SignClientSecret: $(SignClientSecret)
ArtifactDirectory: $(Build.ArtifactStagingDirectory)\Packages

- task: CopyFiles@2
inputs:
Contents: 'artifacts/*.nupkg'
TargetFolder: '$(build.artifactstagingdirectory)\packages'
flattenFolders: true

- task: PowerShell@2
displayName: Authenticode Sign artifacts
- task: PublishTestResults@2
displayName: Publish Test Results
inputs:
filePath: script/Sign-Packages.ps1
env:
SignClientUser: $(SignClientUser)
SignClientSecret: $(SignClientSecret)
ArtifactDirectory: $(Build.ArtifactStagingDirectory)\Packages
condition: and(succeeded(), not(eq(variables['build.reason'], 'PullRequest')), not(eq(variables['SignClientSecret'], '')), not(eq(variables['SignClientUser'], '')))
testResultsFormat: 'VSTest'
testResultsFiles: '**/testresults*.trx'
searchFolder: '$(System.DefaultWorkingDirectory)\artifacts\tests'

- task: CopyFiles@2
displayName: Copy Package Artifacts
inputs:
Contents: 'artifacts/packages/*.nupkg'
TargetFolder: '$(build.artifactstagingdirectory)\packages'
flattenFolders: true

- task: PublishBuildArtifacts@1
displayName: Publish Package Artifacts
Expand All @@ -57,13 +53,14 @@ steps:
artifactName: Packages

- task: CopyFiles@2
displayName: Copy Binaries
inputs:
Contents: '**\bin\**'
Contents: 'artifacts/binaries/**/*'
TargetFolder: '$(build.artifactstagingdirectory)\binaries'

- task: PublishBuildArtifacts@1
displayName: Publish Binaries
inputs:
pathToPublish: '$(build.artifactstagingdirectory)\binaries'
artifactType: container
artifactName: Binaries
artifactName: Binaries
Loading

0 comments on commit 857d9ee

Please sign in to comment.