1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

update the json output encoding

This commit is contained in:
RaidMax
2019-12-09 14:01:02 -06:00
parent 08ef6f45c6
commit 998981d54e
2 changed files with 6 additions and 1 deletions

View File

@ -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)

View File

@ -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: