|
|
@ -5,19 +5,19 @@ steps:
|
|
|
|
packageType: 'sdk'
|
|
|
|
packageType: 'sdk'
|
|
|
|
version: '5.x'
|
|
|
|
version: '5.x'
|
|
|
|
|
|
|
|
|
|
|
|
# - task: DotNetCoreInstaller@1
|
|
|
|
- task: DotNetCoreInstaller@1
|
|
|
|
# displayName: 'Use .NET Core sdk for versioning'
|
|
|
|
displayName: 'Use .NET Core sdk for versioning'
|
|
|
|
# inputs:
|
|
|
|
inputs:
|
|
|
|
# packageType: 'sdk'
|
|
|
|
packageType: 'sdk'
|
|
|
|
# version: '3.1.x'
|
|
|
|
version: '3.1.x'
|
|
|
|
|
|
|
|
|
|
|
|
# - task: PowerShell@2
|
|
|
|
- task: PowerShell@2
|
|
|
|
# displayName: 'Set Version'
|
|
|
|
displayName: 'Set Version'
|
|
|
|
# inputs:
|
|
|
|
inputs:
|
|
|
|
# targetType: 'inline'
|
|
|
|
targetType: 'inline'
|
|
|
|
# script: |
|
|
|
|
script: |
|
|
|
|
# dotnet tool install -g dotnet-setversion
|
|
|
|
dotnet tool install -g dotnet-setversion
|
|
|
|
# setversion -r $(BuildVersion)
|
|
|
|
setversion -r $(BuildVersion)
|
|
|
|
|
|
|
|
|
|
|
|
- task: DotNetCoreCLI@2
|
|
|
|
- task: DotNetCoreCLI@2
|
|
|
|
displayName: 'publish $(runtime)'
|
|
|
|
displayName: 'publish $(runtime)'
|
|
|
|