Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
metasong committed Oct 19, 2021
1 parent 5106031 commit a1717c7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions dev/publish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## steps
1. modify changelog, and syc version with package.json
1. `npm run changelog`
1. check and commit all changes in repo.
1. `npm publish`

## Token
1. go to https://metaseed.visualstudio.com/
1. follow steps: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token
1. personal access tokens: https://metaseed.visualstudio.com/_usersSettings/tokens
![](https://code.visualstudio.com/assets/api/working-with-extensions/publishing-extension/token1.png)
1. new token: {name:vscode-ext, organization: all accessible organizations, expiration: 90days, scopes: custom defined, marketplace: Manage}
![](https://code.visualstudio.com/assets/api/working-with-extensions/publishing-extension/token2.png)
1. copy toeken and store it in .env of workspace folder for further ref, note: it is ignored from git.
1. run `npm run login` it's the same as `vsce login metaseed`
1. `npm run publishOnly`
1 change: 1 addition & 0 deletions src/metaJump/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@
"vscode:prepublish": "npm run changelog && webpack --mode production",
"publish": "git tag -a %npm_package_name%V%npm_package_version% -m '%npm_package_name%V%npm_package_version%' && git push origin --tags && npm run publishOnly",
"publishOnly": "vsce publish",
"login": "vsce login metaseed",
"vscode:prepackage": "npm run changelog && webpack --mode production",
"package": "vsce package -o release",
"deploy": "npm run package && code --uninstall-extension metaseed.%npm_package_name% && code --install-extension release/%npm_package_name%-%npm_package_version%.vsix",
Expand Down
2 changes: 1 addition & 1 deletion src/metaWord/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ All notable changes to the "metaWord" extension will be documented in this file.
tidy commands:

---
### V1.3.0 - Sep 02, 2021
### V1.4.0 - Sep 02, 2021
#### Added
#### Removed
#### Changed
Expand Down

0 comments on commit a1717c7

Please sign in to comment.