'Using vsce via command line in Github Action throws Invalid publisher name error

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?



Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dominique