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