lets try again
This commit is contained in:
parent
72f3a51657
commit
31bcd52c79
@ -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)
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user