-
Notifications
You must be signed in to change notification settings - Fork 10
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 semantic version pre-release tags for extensions #310
Comments
I just bumped into this limitation as well. We're using |
I'm still wondering why the feature was shipped in vscode in 2021 but other than the note that this will be supported in the future:
there's also a suggested workaround in the very same place (increment the minor version for a pre-release and the patch for newer pre-releases, then increment the minor version again when the pre-release "is completed"):
@seaniyer Do you have an option to discuss improving the situation about the missing semver pre-release tag support with the marketplace team? |
Happy to discuss this. I saw your issue here but wanted some more info: eclipse-che4z/che-che4z-lsp-for-cobol#1913 |
We can do
but we cannot use semver prerelease labels as the marketplace does not support that. If it is supported then we can publish prerelease versions without an artificial increase of the version, we prepare for 1.0 so have a prerelease for that and once this is finished we release 1.0. From the semver version link:
If we currently want to do that we need 1.0.0 < 1.0.1 < 1.0.2 < 1.0.3 < 1.0.4 < 1.0.5 < 1.0.6 < 1.0.7 (or more likely with all those numbers: 1.1.0) And if you combine that with Changelogs for each patch level, you also get a huge changelog file. With full semver support, as promised to "be available later" (I think that promise will be soon 2 years old) we can stay with the same number (and a single changelog paragraph as the version does not increase as the new one is "unreleased" / in preview and is adjusted as needed. |
I want to make sure I understand the root problem we are trying to solve here (by enabling semver). Why is incrementing the version number (patch, or minor) for publishing pre-releases an issue? Just that it causes a long changelog? There might be more that's not clear yet. I'm happy to jump on a call and chat about this. |
The point of a preview is a pre-release. You don't increment the version number - apart from the label, which is ordered alphabetically.
Full SemVer support was the original promise, too.
|
From my understanding, it seems that semantic versioning is still not supported. Is this correct? |
I just hit this issue, I wanted to use |
closing this issue as we are tracking in #264 |
Small thing @Neelima10735584: I think it would be better to close this issue as "duplicate". It shows as "completed" right now. Which is confusing because I came here after seeing an email that this issue was completed and got disappointed after opening the issue. |
Pre-releases are now supported, but they require a non-pre-release semantic version.
The official docs says that support for this will arrive in the future, and therefore I'm opening this issue for tracking its progress.
It's worth mentioning that microsoft/vscode-vsce#148 is basically about the same thing, but things are different as
vsce
supports pre-release of extensions now (despite not in its version identifier).This is a requirement for allowing the
semantic-release-vsce
plugin support pre-release channels the same way semantic-release supports it in npm as well (felipecrs/semantic-release-vsce#192).The text was updated successfully, but these errors were encountered: