fix names, uncomment publish step

This commit is contained in:
Garrett Campbell 2024-07-30 09:32:26 -04:00
Родитель d9727849fe
Коммит 26734f9e68
2 изменённых файлов: 17 добавлений и 12 удалений

Просмотреть файл

@ -60,9 +60,8 @@ extends:
inlineScript: |
$aadToken = az account get-access-token --query accessToken --resource $(AzureGuid) -o tsv
Write-Host "##vso[task.setvariable variable=AAD_TOKEN;issecret=true]$aadToken"
#- script: |
# vsce publish --packagePath build\vsix\cmake-tools.vsix --pre-release
#
# displayName: 'Publish the VSIX'
# env:
# VSCE_PAT: $(AAD_TOKEN)
- script: |
vsce publish --packagePath build\vsix\makefile-tools.vsix --pre-release
displayName: "Publish the VSIX"
env:
VSCE_PAT: $(AAD_TOKEN)

Просмотреть файл

@ -43,6 +43,13 @@ extends:
Write-Host "##vso[release.updatereleasename]$newVersion - $str"
ignoreLASTEXITCODE: true
displayName: "Set the release name"
- task: ManualIntervention@8
displayName: "Manual Intervention"
inputs:
instructions: |
Download and test the vsix from the latest release build: https://devdiv.visualstudio.com/DevDiv/_build?definitionId=18396
The version should match the name of this release.
- task: NodeTool@0
displayName: "Use Node 14.x"
inputs:
@ -60,9 +67,8 @@ extends:
inlineScript: |
$aadToken = az account get-access-token --query accessToken --resource $(AzureGuid) -o tsv
Write-Host "##vso[task.setvariable variable=AAD_TOKEN;issecret=true]$aadToken"
#- script: |
# vsce publish --packagePath build\vsix\cmake-tools.vsix
#
# displayName: 'Publish the VSIX'
# env:
# VSCE_PAT: $(AAD_TOKEN)
- script: |
vsce publish --packagePath build\vsix\makefile-tools.vsix
displayName: "Publish the VSIX"
env:
VSCE_PAT: $(AAD_TOKEN)