VS Code Docs - Publishing Extensions
$ vsce package
Usually the previous access token has expired and thus a new one has to be created. To acquire a personal access token:
- sign in on marketplace.visualstudio.com.
- Click the profile link next to the "Sign out" link.
- Click the available Azure DevOps Organization.
- Click the "User settings" button in the top right corner and Select "Personal access tokens".
- Create a new access token according to VS Code's documentation
- Login via vsce using the newly created access token
vsce login <publisher name>
$ npm install -g vsce ovsx
$ vsce publish -p <token>
$ ovsx publish -p <token>