put versioning back

pull/4104/head
tidusjar 4 years ago
parent 59106dca0f
commit 7ddd31b89a

@ -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)'

Loading…
Cancel
Save