[PATCH] D43455: [clangd] Add brief instructions on how to make a release for vscode-clangd extension.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 19 06:03:36 PST 2018


hokein updated this revision to Diff 134900.
hokein marked an inline comment as done.
hokein added a comment.

Address review comments.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D43455

Files:
  clangd/clients/clangd-vscode/README.md


Index: clangd/clients/clangd-vscode/README.md
===================================================================
--- clangd/clients/clangd-vscode/README.md
+++ clangd/clients/clangd-vscode/README.md
@@ -49,3 +49,28 @@
    $ code .
    # When VS Code starts, press <F5>.
 ```
+
+## Publish to VS Code Marketplace
+
+New changes to `clangd-vscode` are not released until a new version is published
+to the marketplace.
+
+### Requirements
+
+* Make sure install the `vsce` command (`npm install -g vsce`)
+* `llvm-vs-code-extensions` account
+* Bump the version in `package.json`, and commit the change to upstream
+
+The extension is published under `llvm-vs-code-extensions` account, which is
+currently maintained by clangd developers. If you want to make a new release,
+please contact cfe-dev at lists.llvm.org.
+
+### Steps
+
+```bash
+  $ cd /path/to/clang-tools-extra/clangd/clients/clangd-vscode/
+  # For the first time, you need to login in the account. vsce will ask you for
+    the account password, and remember it for future commands.
+  $ vsce login llvm-vs-code-extensions
+  $ vsce publish
+```


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43455.134900.patch
Type: text/x-patch
Size: 1110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180219/7a414a80/attachment.bin>


More information about the cfe-commits mailing list