Skip to content

Commit

Permalink
docs: replace manual publishing with release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac authored and nikku committed Oct 14, 2024
1 parent 05f253b commit 2883202
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions docs/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,7 @@ code --install-extension some-extension.vsix

## Publish a new Version

Use the access token to create and publish a new version to the VS Code Marketplace. Make sure the access token is bound to a [publisher](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#create-a-publisher).

```bash
vsce publish patch -p <ACCESS_TOKEN>
vsce publish minor -p <ACCESS_TOKEN>
vsce publish major -p <ACCESS_TOKEN>
```

Alternatively, you can also login beforehand and publish afterward.

```bash
vsce login
vsce publish minor
```

The version will be auto-incremented by our [semantic versioning schema](https://semver.org/).
Publishing is done by release-please in the [RELEASE.yml](../.github/workflows/RELEASE.yml) action. The action uses an Azure Personal Access Token with Manage permission in the Marketplace group.

## Troubleshooting

Expand Down

0 comments on commit 2883202

Please sign in to comment.