lets try again
This commit is contained in:
parent
72f3a51657
commit
31bcd52c79
@ -18,4 +18,4 @@ Minor = $versionInfo.ProductMinorPart
|
|||||||
Build = $versionInfo.ProductBuildPart
|
Build = $versionInfo.ProductBuildPart
|
||||||
Revision = $versionInfo.ProductPrivatePart
|
Revision = $versionInfo.ProductPrivatePart
|
||||||
}
|
}
|
||||||
$json | ConvertTo-Json > VersionInformation.json
|
$json | ConvertTo-Json > ("{0}\VersionInformation.json" -f $PublishDir)
|
@ -50,12 +50,6 @@ 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'
|
||||||
@ -63,6 +57,19 @@ steps:
|
|||||||
failOnStderr: true
|
failOnStderr: true
|
||||||
workingDirectory: '$(Build.Repository.LocalPath)\Application\BuildScripts'
|
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
|
- task: BatchScript@1
|
||||||
inputs:
|
inputs:
|
||||||
filename: 'Application\BuildScripts\PostPublish.bat'
|
filename: 'Application\BuildScripts\PostPublish.bat'
|
||||||
@ -70,12 +77,6 @@ steps:
|
|||||||
arguments: '$(outputFolder)'
|
arguments: '$(outputFolder)'
|
||||||
failOnStandardError: true
|
failOnStandardError: true
|
||||||
|
|
||||||
- task: PowerShell@2
|
|
||||||
inputs:
|
|
||||||
filePath: 'PostPublish.ps1'
|
|
||||||
arguments: '$(outputFolder)'
|
|
||||||
failOnStderr: true
|
|
||||||
workingDirectory: '$(Build.Repository.LocalPath)'
|
|
||||||
|
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
inputs:
|
inputs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user