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)' platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)' configuration: '$(buildConfiguration)'
- task: oneLuckiDevJson2Variable@1
inputs:
jsonFile: '$(build.artifactStagingDirectory)\Application\VersionInformation.json'
shouldPrefixVariables: true
variablePrefix: 'VersionInformation'
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
inputs: inputs:
command: 'publish' command: 'publish'
@ -56,6 +50,12 @@ steps:
zipAfterPublish: false zipAfterPublish: false
modifyOutputPath: false modifyOutputPath: false
- task: oneLuckiDevJson2Variable@1
inputs:
jsonFile: '$(build.artifactStagingDirectory)\Application\VersionInformation.json'
shouldPrefixVariables: true
variablePrefix: 'VersionInformation'
- task: PowerShell@2 - task: PowerShell@2
inputs: inputs:
targetType: 'inline' targetType: 'inline'