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

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

@ -43,6 +43,13 @@ extends:
Write-Host "##vso[release.updatereleasename]$newVersion - $str" Write-Host "##vso[release.updatereleasename]$newVersion - $str"
ignoreLASTEXITCODE: true ignoreLASTEXITCODE: true
displayName: "Set the release name" 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 - task: NodeTool@0
displayName: "Use Node 14.x" displayName: "Use Node 14.x"
inputs: inputs:
@ -60,9 +67,8 @@ extends:
inlineScript: | inlineScript: |
$aadToken = az account get-access-token --query accessToken --resource $(AzureGuid) -o tsv $aadToken = az account get-access-token --query accessToken --resource $(AzureGuid) -o tsv
Write-Host "##vso[task.setvariable variable=AAD_TOKEN;issecret=true]$aadToken" Write-Host "##vso[task.setvariable variable=AAD_TOKEN;issecret=true]$aadToken"
#- script: | - script: |
# vsce publish --packagePath build\vsix\cmake-tools.vsix vsce publish --packagePath build\vsix\makefile-tools.vsix
# displayName: "Publish the VSIX"
# displayName: 'Publish the VSIX' env:
# env: VSCE_PAT: $(AAD_TOKEN)
# VSCE_PAT: $(AAD_TOKEN)