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

Support prereleases #192

Open
jakobrosenberg opened this issue Oct 18, 2021 · 7 comments
Open

Support prereleases #192

jakobrosenberg opened this issue Oct 18, 2021 · 7 comments

Comments

@jakobrosenberg
Copy link

I know VSC plugins don't support prereleases, but since it's recommended to use Github releases to handle regression errors, we could also use Github to handle beta releases.

It's very possible that I'm missing an obvious solution to this. 😅

@felipecrs
Copy link
Owner

felipecrs commented Oct 18, 2021

Usually, what extensions do to handle this is to have a Preview variant of it. Anyway, I thought on 2 things that needs to be made here:

  1. Allow semantic-release-vsce to not publish anything, but just package (so that you can call semantic-release-github to create a GitHub release with the VSIX)
  2. Allow semantic-release-vsce to specify custom extension ID depending on the branch (the preview one). I'm not sure yet how it would work.

@felipecrs
Copy link
Owner

felipecrs commented Jan 18, 2022

@jakobrosenberg in fact now pre-releases are supported by vsce: https://code.visualstudio.com/updates/v1_63#_pre-release-extensions

@felipecrs
Copy link
Owner

felipecrs commented Jan 18, 2022

But some work is still required at vsce (and maybe in Visual Studio Marketplace as well). I created an issue there to track: https://github.com/microsoft/vscode-vsce/issues/688

@jakobrosenberg
Copy link
Author

@felipecrs that's pretty cool! Thanks for the heads up. 😀

@felipecrs felipecrs changed the title Support beta branch Support pre-releases Feb 1, 2022
@felipecrs felipecrs changed the title Support pre-releases Support prereleases Feb 1, 2022
@felipecrs felipecrs pinned this issue Jun 10, 2022
@anacierdem
Copy link

@felipecrs
Copy link
Owner

felipecrs commented Feb 9, 2024

Unfortunately not. Their implementation is still misaligned with semver which is what we need. I suggest you weigh in microsoft/vsmarketplace#310.

@anacierdem
Copy link

Ah, I misread the issue, I thought this was about providing the --pre-release flag to vsce. I think this is already possible via package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants