run version grab after publish

This commit is contained in:
RaidMax 2019-12-07 20:00:03 -06:00
parent 3b4af20810
commit 72f3a51657

View File

@ -39,12 +39,6 @@ steps:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
- task: oneLuckiDevJson2Variable@1
inputs:
jsonFile: '$(build.artifactStagingDirectory)\Application\VersionInformation.json'
shouldPrefixVariables: true
variablePrefix: 'VersionInformation'
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
@ -55,6 +49,12 @@ steps:
arguments: '-c $(buildConfiguration) -o $(outputFolder)'
zipAfterPublish: false
modifyOutputPath: false
- task: oneLuckiDevJson2Variable@1
inputs:
jsonFile: '$(build.artifactStagingDirectory)\Application\VersionInformation.json'
shouldPrefixVariables: true
variablePrefix: 'VersionInformation'
- task: PowerShell@2
inputs: