Skip to content

Commit 8d25f84

Browse files
authored
Merge pull request #16: fix Marketplace publishing
Semicolon-separated tags; VsixPublisher from bin\lib.
2 parents 02011c2 + b4cccb9 commit 8d25f84

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,11 @@ jobs:
9191
VS_MARKETPLACE_PAT: ${{ secrets.VS_MARKETPLACE_PAT }}
9292
run: |
9393
if (-not $env:VS_MARKETPLACE_PAT) { throw 'Secret VS_MARKETPLACE_PAT is not set' }
94-
# VsixPublisher ships with the Microsoft.VSSDK.BuildTools package: restore it.
94+
# VsixPublisher ships with the Microsoft.VSSDK.BuildTools package: restore it. Use the copy under bin\lib,
95+
# which has its dependencies next to it (the one under bin crashes while initializing telemetry).
9596
msbuild SourceControlSwitcher/SourceControlSwitcher.csproj -t:Restore -v:minimal
9697
$publisher = Get-ChildItem "$env:USERPROFILE\.nuget\packages\microsoft.vssdk.buildtools" -Recurse -Filter VsixPublisher.exe |
97-
Where-Object { $_.Directory.Name -eq 'bin' } | Sort-Object FullName -Descending | Select-Object -First 1
98+
Where-Object { $_.Directory.Name -eq 'lib' } | Sort-Object FullName -Descending | Select-Object -First 1
9899
if (-not $publisher) { throw 'VsixPublisher.exe not found' }
99100
& $publisher.FullName publish `
100101
-payload 'release/target/Release/SourceControlSwitcher.vsix' `

‎SourceControlSwitcher/Manifest/source.extension.vsixmanifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<GettingStartedGuide>https://github.com/Ryadel/SourceControlSwitcher#readme</GettingStartedGuide>
1010
<ReleaseNotes>Resources\CHANGELOG.txt</ReleaseNotes>
1111
<Icon>Resources\Icon.png</Icon>
12-
<Tags>Source Control, Source Code Control, Source Control Provider, Source Control Client, Git, SVN, Subversion, TFVC, Team Foundation, Perforce, Helix</Tags>
12+
<Tags>Source Control;Source Code Control;Source Control Provider;Git;SVN;Subversion;TFVC;Team Foundation;Perforce;Helix</Tags>
1313
</Metadata>
1414
<Installation InstalledByMsi="false">
1515
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0,)">

0 commit comments

Comments
 (0)