lets try again

This commit is contained in:
RaidMax 2019-12-07 20:11:22 -06:00
parent 72f3a51657
commit 31bcd52c79
2 changed files with 14 additions and 13 deletions

View File

@ -18,4 +18,4 @@ Minor = $versionInfo.ProductMinorPart
Build = $versionInfo.ProductBuildPart
Revision = $versionInfo.ProductPrivatePart
}
$json | ConvertTo-Json > VersionInformation.json
$json | ConvertTo-Json > ("{0}\VersionInformation.json" -f $PublishDir)

View File

@ -50,12 +50,6 @@ steps:
zipAfterPublish: false
modifyOutputPath: false
- task: oneLuckiDevJson2Variable@1
inputs:
jsonFile: '$(build.artifactStagingDirectory)\Application\VersionInformation.json'
shouldPrefixVariables: true
variablePrefix: 'VersionInformation'
- task: PowerShell@2
inputs:
targetType: 'inline'
@ -63,6 +57,19 @@ steps:
failOnStderr: true
workingDirectory: '$(Build.Repository.LocalPath)\Application\BuildScripts'
- task: PowerShell@2
inputs:
filePath: 'PostPublish.ps1'
arguments: '$(outputFolder)'
failOnStderr: true
workingDirectory: '$(Build.Repository.LocalPath)'
- task: oneLuckiDevJson2Variable@1
inputs:
jsonFile: '$(build.artifactStagingDirectory)\VersionInformation.json'
shouldPrefixVariables: true
variablePrefix: 'VersionInformation'
- task: BatchScript@1
inputs:
filename: 'Application\BuildScripts\PostPublish.bat'
@ -70,12 +77,6 @@ steps:
arguments: '$(outputFolder)'
failOnStandardError: true
- task: PowerShell@2
inputs:
filePath: 'PostPublish.ps1'
arguments: '$(outputFolder)'
failOnStderr: true
workingDirectory: '$(Build.Repository.LocalPath)'
- task: CmdLine@2
inputs: