[clang-tools-extra] r325499 - [clangd] Add brief instructions on how to make a release for vscode-clangd extension.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 19 06:01:52 PST 2018


Author: hokein
Date: Mon Feb 19 06:01:52 2018
New Revision: 325499

URL: http://llvm.org/viewvc/llvm-project?rev=325499&view=rev
Log:
[clangd] Add brief instructions on how to make a release for vscode-clangd extension.

Reviewers: sammccall

Subscribers: klimek, ilya-biryukov, jkorous-apple, ioeric, cfe-commits

Differential Revision: https://reviews.llvm.org/D43455

Modified:
    clang-tools-extra/trunk/clangd/clients/clangd-vscode/README.md

Modified: clang-tools-extra/trunk/clangd/clients/clangd-vscode/README.md
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/clients/clangd-vscode/README.md?rev=325499&r1=325498&r2=325499&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/clients/clangd-vscode/README.md (original)
+++ clang-tools-extra/trunk/clangd/clients/clangd-vscode/README.md Mon Feb 19 06:01:52 2018
@@ -49,3 +49,28 @@ point to the binary.
    $ 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
+```




More information about the cfe-commits mailing list