Skip to content

Commit 82aadbb

Browse files
committed
Add get-new-PAT instructions
1 parent 5dfba16 commit 82aadbb

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,12 @@ To check highlighting in VSCode: "Developer: Inspect Editor Tokens and Scopes"
7070
1. `git push`
7171
1. `git tag NEW-VERSION-NUMBER && git push --tags`
7272
1. `npm run publish`
73+
74+
If `npm run publish` fails with "Access Denied: The Personal Access Token used
75+
has expired.":
76+
77+
1. Go to [Azure DevOps](https://dev.azure.com/) and click your profile icon
78+
(User settings) -> **Personal access tokens**.
79+
1. Create a new token with the organization set to `All accessible organizations` and the scope set to `Marketplace` / `Manage`.
80+
1. Run `npx vsce login walles` and paste the new PAT before trying the publish
81+
command again.

0 commit comments

Comments
 (0)