Skip to content

Commit

Permalink
Set releaseNotes to be URL
Browse files Browse the repository at this point in the history
- enable publishing
  • Loading branch information
flcdrg committed Jul 4, 2020
1 parent 505cab2 commit 2881ad6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# GITHUB_CONTEXT: ${{ toJson(github) }}
# run: echo "$GITHUB_CONTEXT"

- run: ${{ github.event.release.id }}
- uses: actions/checkout@v2

- name: Download Assets
uses: i3h/[email protected]
Expand All @@ -26,18 +26,17 @@ jobs:
file: Gardiner.VsShowMissing.VS2019.vsix
token: ${{ secrets.GITHUB_TOKEN }}

- run: dir -recurse
# - run: dir -recurse

- name: Script
run: |
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -format json
$Installation = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -format json | ConvertFrom-Json
# Find VsixPublisher
$Installation = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -format json | ConvertFrom-Json
$Path = $Installation.installationPath
Write-Host $Path
$VsixPublisher = Join-Path -Path $Path -ChildPath "VSSDK\VisualStudioIntegration\Tools\Bin\VsixPublisher.exe" -Resolve
Write-Host $VsixPublisher

Test-Path $VsixPublisher
& $VsixPublisher publish -payload ".\Gardiner.VsShowMissing.VS2019.vsix" -publishManifest ".\build\extension-manifest.json" -personalAccessToken $env:PersonalAccessToken -ignoreWarnings "VSIXValidatorWarning01,VSIXValidatorWarning02,VSIXValidatorWarning08"
env:
PersonalAccessToken: ${{ secrets.PersonalAccessToken }}
2 changes: 1 addition & 1 deletion Gardiner.VsShowMissing/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Runs on Build. Missing files are listed in Error List window.</Description>
<MoreInfo>https://github.com/flcdrg/VsShowMissing</MoreInfo>
<License>LICENSE.txt</License>
<ReleaseNotes>ChangeLog.rtf</ReleaseNotes>
<ReleaseNotes>https://github.com/flcdrg/VsShowMissing/releases</ReleaseNotes>
<Icon>Resources\BrokenlinktoFile_431_24.ico</Icon>
<PreviewImage>VS2015 Screenshot.png</PreviewImage>
<Tags>Missing, Warnings</Tags>
Expand Down
2 changes: 1 addition & 1 deletion VS2019/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Runs on Build. Missing files are listed in Error List window.</Description>
<MoreInfo>https://github.com/flcdrg/VsShowMissing</MoreInfo>
<License>LICENSE.txt</License>
<ReleaseNotes>ChangeLog.rtf</ReleaseNotes>
<ReleaseNotes>https://github.com/flcdrg/VsShowMissing/releases</ReleaseNotes>
<Icon>Resources\BrokenlinktoFile_431_24.ico</Icon>
<PreviewImage>VS2015 Screenshot.png</PreviewImage>
<Tags>Missing, Warnings</Tags>
Expand Down

0 comments on commit 2881ad6

Please sign in to comment.