Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.32 KB

RELEASE.md

File metadata and controls

38 lines (27 loc) · 1.32 KB

To cut a release of the extension.

  1. Update version in package.json and CHANGELOG.md
  2. Commit and make sure the CI is green
  3. Add a release tag with the git command and push to GitHub
  4. Release to Visual Studio Marketplace and Open VSX Registry.

You can published the extension to Visual Studio Marketplace with either A or B below. And, for releasing to the Open VSX Registry, please refer to resources like https://github.com/eclipse/openvsx/wiki/Publishing-Extensions.

A. Release on web site of Visual Studio Marketplace

Generate vscode-rubocop-x.y.z.vsix using yarn vsce package command:

$ yarn vsce package
  1. Login to Visual Studio Marketplace with RuboCop Headquarters privileges
  2. Access to Manage Publishers & Extensions
  3. Right click on RuboCop and select "update"
  4. Upload vscode-rubocop-x.y.z.vsix

B. Release on terminal

You must login with vsce using the project's personal access token:

$ yarn vsce login rubocop

Next, you should just need to run:

$ yarn run vsce:publish