update the json output encoding
This commit is contained in:
parent
e5d009d87d
commit
b3f4712dd2
@ -20,4 +20,4 @@ Minor = $versionInfo.ProductMinorPart
|
||||
Build = $versionInfo.ProductBuildPart
|
||||
Revision = $versionInfo.ProductPrivatePart
|
||||
}
|
||||
$json | ConvertTo-Json > ("{0}\VersionInformation.json" -f $PublishDir)
|
||||
$json | ConvertTo-Json -Encoding ASCII > ("{0}\VersionInformation.json" -f $PublishDir)
|
@ -63,6 +63,11 @@ steps:
|
||||
failOnStderr: true
|
||||
workingDirectory: '$(Build.Repository.LocalPath)'
|
||||
|
||||
- task: oneLuckiDevJson2Variable@1
|
||||
inputs:
|
||||
jsonFile: '$(outputFolder)\VersionInformation.json'
|
||||
shouldPrefixVariables: true
|
||||
variablePrefix: 'VersionInformation'
|
||||
|
||||
- task: BatchScript@1
|
||||
inputs:
|
||||
|
Loading…
Reference in New Issue
Block a user