在 Github Action 中通过命令行使用 vsce 会抛出无效的发布者名称错误
我们有一个现有的扩展,它已经在 VS Code 市场上。 我正在尝试使用 Github Actions 并执行此命令来自动发布...
vscepublish -p ${{secrets.VSCODE_PAT }}
当命令执行时,我收到此错误:
错误发布者名称“Wilderness Labs”无效。预计 发布者的标识符,而不是其易于理解的名称。
vscode 文档在这种情况下并没有真正的帮助。有什么想法/建议吗?
We have an existing extension that is already in the VS Code market place.
I'm trying to automate publishing by using Github Actions and executing this command...
vsce publish -p ${{ secrets.VSCODE_PAT }}
When the command executes I'm getting this error:
ERROR Invalid publisher name 'Wilderness Labs'. Expected the
identifier of a publisher, not its human-friendly name.
The vscode documentation doesn't really help in this situation. Any ideas/suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
发布者名称不能是带有空格的字符串文字。正如 @Lex 所提到的,它需要是像 WildernessLabs 或 Wilderness-labs 之类的东西,或者任何适合您自己的组织的东西。
The publisher name MUST NOT be a string literal with spaces. As mentioned by @Lex it needs to be a something like WildernessLabs or wilderness-labs or whatever it is for your own organisation.