pipeline.

This commit is contained in:
David Lebee 2021-08-11 16:05:11 -04:00
parent 590ea8476e
commit dc031e02fe
2 changed files with 50 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PoweredSoft.Module.Abstract
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{434E67F5-A188-4D41-83F8-F2131A4395E1}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{434E67F5-A188-4D41-83F8-F2131A4395E1}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
azure-pipeline.yaml = azure-pipeline.yaml
README.md = README.md README.md = README.md
EndProjectSection EndProjectSection
EndProject EndProject

49
azure-pipeline.yaml Normal file
View File

@ -0,0 +1,49 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
batch: true
branches:
include:
- refs/tags/*
pool:
vmImage: 'ubuntu-latest'
steps:
- task: gitversion/setup@0
inputs:
versionSpec: '5.6.0'
- task: gitversion/execute@0
displayName: 'Git Version'
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
projects: '**/*.csproj'
feedsToUse: 'select'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '**/*.csproj'
- task: DotNetCoreCLI@2
inputs:
command: 'pack'
packagesToPack: '**/*.csproj'
includesymbols: true
includesource: true
versioningScheme: 'byEnvVar'
versionEnvVar: 'GitVersion.NuGetVersion'
- task: NuGetCommand@2
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'external'
publishFeedCredentials: 'PoweredSoftNuget'