File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,6 +114,19 @@ jobs:
114114 VERSION : ${{ steps.version.outputs.VERSION }}
115115 run : gh release upload "v$env:VERSION" releases/PlanViewer.Ssms.vsix releases/InstallSsmsExtension.exe --clobber
116116
117+ # Publish to the SSMS Gallery (https://ssmsgallery.azurewebsites.net, issue 343).
118+ # The gallery extracts version/description from the vsixmanifest, so the
119+ # upload filename is irrelevant. continue-on-error: a gallery outage must
120+ # never fail the release. bash so `curl` is curl.exe, not the pwsh alias.
121+ - name : Publish SSMS extension to SSMS Gallery
122+ if : steps.ssms.outputs.BUILT == 'true'
123+ continue-on-error : true
124+ shell : bash
125+ run : |
126+ echo "Uploading PlanViewer.Ssms.vsix to the SSMS Gallery..."
127+ curl -sS -f "https://ssmsgallery.azurewebsites.net/api/upload" \
128+ -F "file=@releases/PlanViewer.Ssms.vsix"
129+
117130 # ── SignPath code signing (Windows only, skipped if secret not configured) ──
118131 - name : Check if signing is configured
119132 id : signing
You can’t perform that action at this time.
0 commit comments