mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +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:
|
branches:
|
||||||
include:
|
include:
|
||||||
- source
|
- source
|
||||||
|
paths:
|
||||||
|
include:
|
||||||
|
- src
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- name: solutionFile
|
||||||
|
value: 'src/Server-Managers.sln'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NuGetToolInstaller@1
|
- task: NuGetToolInstaller@1
|
||||||
|
|
@ -14,14 +21,12 @@ steps:
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: 'NuGet restore'
|
displayName: 'NuGet restore'
|
||||||
inputs:
|
inputs:
|
||||||
restoreSolution: '$(SolutionFile)'
|
restoreSolution: '$(solutionFile)'
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Apply Semantic Versioning to Assemblies'
|
displayName: 'Apply Semantic Versioning to Assemblies'
|
||||||
inputs:
|
inputs:
|
||||||
targetType: filePath
|
targetType: filePath
|
||||||
filePath: '.\src\_deployment\scripts\ApplySemanticVersioningToAssemblies.ps1'
|
filePath: './.azure/scripts/ApplySemanticVersioningToAssemblies.ps1'
|
||||||
|
arguments: "-applicationName $(ApplicationName) -pathToSearch './src' -buildNumber $()"
|
||||||
pwsh: true
|
pwsh: true
|
||||||
env:
|
|
||||||
BUILD_APPLICATION_NAME: $(ApplicationName)
|
|
||||||
BUILD_SOURCE_PATH: $(Build.SourcesDirectory)\src
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue