clarify handling of tags on marketplace

This commit is contained in:
isidor 2023-03-31 11:38:40 +02:00
Родитель a4c33c8732
Коммит 1f3f2801f3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -337,7 +337,7 @@ vsce package --pre-release
vsce publish --pre-release
```
We only support `major.minor.patch` for extension versions and `semver` pre-release tags are not supported. Support for this will arrive in the future.
We only support `major.minor.patch` for extension versions and `semver` pre-release tags are not supported. Thus, if you publish `major.minor.patch-tag` release to the Marketplace it will be treated as `major.minor.patch` and the `tag` will be ignored. Full `semver` support will arrive in the future.
VS Code will auto update extensions to the highest version available, so even if a user opted into a pre-release version and there is an extension release with a higher version, that user will be updated to the released version.
Because of this we recommend that extensions use `major.EVEN_NUMBER.patch` for release versions and `major.ODD_NUMBER.patch` for pre-release versions. For example: `0.2.*` for release and `0.3.*` for pre-release.