如何使用 API 在 vscode 市场中发布 vscode 插件?

How can I publish the vscode plugin in vscode marketplace using API?

我的目标是在 vscode 市场上发布一个扩展,无需手动交互。有人可以让我知道,我是否可以为此使用扩展名 API 或者是否有其他使用 curl 选项的方法?

您可以使用解释如何使用该工具的 vsce CLI. With this you can publish and update an extension from command line. Therefore you should be capable to automate that process in a CI/CD pipeline. There is also an article in the docs

您可以选择查看one of my extensions。在那里我使用 azure 管道自动创建版本。