Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 1cdae41

Browse files
committed
Add MatrixName post-fix to VSIX file name
1 parent 81d4ea1 commit 1cdae41

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ strategy:
1010
maxParallel: 2
1111
matrix:
1212
VSMarketplace:
13+
MatrixName: 'VSMarketplace'
1314
IsProductComponent: false
1415
VSInstaller:
16+
MatrixName: 'VSInstaller'
1517
IsProductComponent: true
1618

1719
variables:
@@ -56,7 +58,7 @@ steps:
5658
platform: '$(buildPlatform)'
5759
configuration: '$(buildConfiguration)'
5860
msbuildVersion: '16.0'
59-
msbuildArguments: '/property:IsProductComponent=$(IsProductComponent);DeployExtension=False;GitHubVS_ClientId=$(GitHubVS_ClientId);GitHubVS_ClientSecret=$(GitHubVS_ClientSecret)'
61+
msbuildArguments: '/property:TargetVsixContainer=$(Build.SourcesDirectory)\build\$(buildConfiguration)\GitHub.VisualStudio-$(MatrixName).vsix;IsProductComponent=$(IsProductComponent);DeployExtension=False;GitHubVS_ClientId=$(GitHubVS_ClientId);GitHubVS_ClientSecret=$(GitHubVS_ClientSecret)'
6062

6163
- task: MSBuild@1
6264
displayName: GitHub Essentials
@@ -65,7 +67,7 @@ steps:
6567
platform: '$(buildPlatform)'
6668
configuration: '$(buildConfiguration)'
6769
msbuildVersion: '16.0'
68-
msbuildArguments: '/property:IsProductComponent=$(IsProductComponent);DeployExtension=False'
70+
msbuildArguments: '/property:TargetVsixContainer=$(Build.SourcesDirectory)\build\$(buildConfiguration)\GitHub.VisualStudio.16-$(MatrixName).vsix;IsProductComponent=$(IsProductComponent);DeployExtension=False'
6971

7072
- task: VSTest@2
7173
inputs:

0 commit comments

Comments
 (0)