try to fix bug where version is not passed and publish args is wrong
This commit is contained in:
Родитель
1cc6c40b1c
Коммит
592349be71
|
@ -77,10 +77,10 @@ jobs:
|
|||
Contents: '**\*.binlog'
|
||||
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||
flattenFolders: false
|
||||
- ${{ if eq(parameters.useOneEngineeringPool, 'true') }}:
|
||||
- template: publish.yaml
|
||||
parameters:
|
||||
pool: ${{ parameters.pool }}
|
||||
SignType: ${{ parameters.SignType }}
|
||||
version: $(GetVersion.version)
|
||||
useOneEngineeringPool: true
|
||||
- ${{ if eq(parameters.useOneEngineeringPool, 'true') }}:
|
||||
- template: publish.yaml
|
||||
parameters:
|
||||
pool: ${{ parameters.pool }}
|
||||
SignType: ${{ parameters.SignType }}
|
||||
version: $(GetVersion.version)
|
||||
useOneEngineeringPool: true
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
$basePublishArgs = , "publish"
|
||||
$basePublishArgs += '--azure-credential'
|
||||
$basePublishArgs += '--packagePath'
|
||||
$publishArgs = $basePublishArgs + vscode-dotnet-runtime-$(version)-signed.vsix
|
||||
$publishArgs = $basePublishArgs + 'vscode-dotnet-runtime-$(version)-signed.vsix'
|
||||
If ("${{ parameters.SignType }}" -ne "Real") {
|
||||
Write-Host "With a test-signed build, the command to publish is printed instead of run."
|
||||
Write-Host "##[command]vsce $publishArgs"
|
||||
|
|
Загрузка…
Ссылка в новой задаче