Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Jesse Houwing 2024-06-10 16:55:43 +02:00
Родитель 91b645a846
Коммит 5d797b6ec2
1 изменённых файлов: 4 добавлений и 8 удалений

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

@ -73,7 +73,7 @@ stages:
name: 'packagebuild'
inputs:
rootFolder: '$(Build.SourcesDirectory)'
outputPath: '$(Build.ArtifactStagingDirectory)\vsts-developer-tools-build-tasks.vsix'
outputPath: '$(Build.ArtifactStagingDirectory)\vsts-developer-tools-build-tasks-build.vsix'
publisherId: 'ms-devlabs'
extensionId: 'vsts-developer-tools-build-tasks'
extensionTag: '-build'
@ -87,26 +87,22 @@ stages:
name: 'packageprivate'
displayName: 'Package the private extension'
inputs:
fileType: 'vsix'
vsixFile: '$(packagebuild.Extension.OutputPath)'
rootFolder: '$(Build.SourcesDirectory)'
outputPath: '$(Build.ArtifactStagingDirectory)\vsts-developer-tools-build-tasks-private.vsix'
publisherId: 'ms-devlabs'
extensionId: 'vsts-developer-tools-build-tasks'
extensionTag: '-dev'
updateTasksVersion: false
extensionVisibility: 'private'
- task: PackageAzureDevOpsExtension@4
displayName: 'Package the public extension'
name: 'packagepublic'
inputs:
fileType: 'vsix'
vsixFile: '$(packagebuild.Extension.OutputPath)'
rootFolder: '$(Build.SourcesDirectory)'
outputPath: '$(Build.ArtifactStagingDirectory)\vsts-developer-tools-build-tasks-public.vsix'
publisherId: 'ms-devlabs'
extensionId: 'vsts-developer-tools-build-tasks'
updateTasksVersion: false
extensionVisibility: 'private'
extensionVisibility: 'public'
- publish: |
$(packagebuild.Extension.OutputPath)