mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
069b7fb87c
commit
8b9f1d90cd
1 changed files with 10 additions and 5 deletions
|
|
@ -4,6 +4,13 @@ trigger:
|
|||
branches:
|
||||
include:
|
||||
- source
|
||||
paths:
|
||||
include:
|
||||
- src
|
||||
|
||||
variables:
|
||||
- name: solutionFile
|
||||
value: 'src/Server-Managers.sln'
|
||||
|
||||
steps:
|
||||
- task: NuGetToolInstaller@1
|
||||
|
|
@ -14,14 +21,12 @@ steps:
|
|||
- task: NuGetCommand@2
|
||||
displayName: 'NuGet restore'
|
||||
inputs:
|
||||
restoreSolution: '$(SolutionFile)'
|
||||
restoreSolution: '$(solutionFile)'
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: 'Apply Semantic Versioning to Assemblies'
|
||||
inputs:
|
||||
targetType: filePath
|
||||
filePath: '.\src\_deployment\scripts\ApplySemanticVersioningToAssemblies.ps1'
|
||||
filePath: './.azure/scripts/ApplySemanticVersioningToAssemblies.ps1'
|
||||
arguments: "-applicationName $(ApplicationName) -pathToSearch './src' -buildNumber $()"
|
||||
pwsh: true
|
||||
env:
|
||||
BUILD_APPLICATION_NAME: $(ApplicationName)
|
||||
BUILD_SOURCE_PATH: $(Build.SourcesDirectory)\src
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue