Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview Label not appearing in Marketplace when uploading with VsixPublisher #429

Open
ShawkyZ opened this issue Oct 9, 2024 · 0 comments
Milestone

Comments

@ShawkyZ
Copy link

ShawkyZ commented Oct 9, 2024

Hi there,
We have encountered an issue when attempting to publish a Visual Studio extension through our CI/CD integration. The "Preview" label is not appearing in the Marketplace UI as expected.
Image

Example:
Visual Studio Marketplace

Our pipeline utilizes a GitHub action that runs VsixPublisher.exe to handle the publishing process.
The Github action does this:
await exec.exec("${vsixPublisherPath}" publish -personalAccessToken ${PUBLISHER_ACCESS_TOKEN} -payload ${EXTENSION_FILE} -publishManifest ${PUBLISH_MANIFEST_FILE})
https://github.com/cezarypiatek/VsixPublisherAction/blob/309123e451bfde5258df748f854469b7a9155d38/src/main.ts#L68

The extension manifest file (extension.vsixmanifest) contains the
<Preview>true</Preview> element, which should indicate that the extension is in preview state.

Image

Example release with the .vsix file:
GitHub Release

We also noticed that when uploading the .vsix file via the Marketplace webpage, the extension is correctly recognized as being in preview.

@tinaschrepfer tinaschrepfer added this to the Scheduled milestone Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants