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'
|
Contents: '**\*.binlog'
|
||||||
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
flattenFolders: false
|
flattenFolders: false
|
||||||
- ${{ if eq(parameters.useOneEngineeringPool, 'true') }}:
|
- ${{ if eq(parameters.useOneEngineeringPool, 'true') }}:
|
||||||
- template: publish.yaml
|
- template: publish.yaml
|
||||||
parameters:
|
parameters:
|
||||||
pool: ${{ parameters.pool }}
|
pool: ${{ parameters.pool }}
|
||||||
SignType: ${{ parameters.SignType }}
|
SignType: ${{ parameters.SignType }}
|
||||||
version: $(GetVersion.version)
|
version: $(GetVersion.version)
|
||||||
useOneEngineeringPool: true
|
useOneEngineeringPool: true
|
|
@ -45,7 +45,7 @@ jobs:
|
||||||
$basePublishArgs = , "publish"
|
$basePublishArgs = , "publish"
|
||||||
$basePublishArgs += '--azure-credential'
|
$basePublishArgs += '--azure-credential'
|
||||||
$basePublishArgs += '--packagePath'
|
$basePublishArgs += '--packagePath'
|
||||||
$publishArgs = $basePublishArgs + vscode-dotnet-runtime-$(version)-signed.vsix
|
$publishArgs = $basePublishArgs + 'vscode-dotnet-runtime-$(version)-signed.vsix'
|
||||||
If ("${{ parameters.SignType }}" -ne "Real") {
|
If ("${{ parameters.SignType }}" -ne "Real") {
|
||||||
Write-Host "With a test-signed build, the command to publish is printed instead of run."
|
Write-Host "With a test-signed build, the command to publish is printed instead of run."
|
||||||
Write-Host "##[command]vsce $publishArgs"
|
Write-Host "##[command]vsce $publishArgs"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче