posit-dev / publisher

MIT License
4 stars 0 forks source link

Version and publish the extension #1779

Closed mmarchetti closed 4 months ago

mmarchetti commented 4 months ago

Intent

This PR introduces a GHA step to publish the extension to the OpenVSX and VSCode extension marketplaces.

Versioning is done by updating package.json at build time, if the current version is a tagged release (vX.Y.Z).

PR does the publishing in dry-run mode until we have credentials and can test for real. workflow_call is also enabled for testing. Since it's a new workflow, I don't think we can run it until the PR is merged (after that, it will be in the list of runnable workflows, so we can test any improvements in branches).

Fixes #1687

Type of Change

Approach

Automated Tests

Nope.

Directions for Reviewers

We'll need to try publishing, first in dry-run mode and later for real.

mmarchetti commented 4 months ago

This is the action we are using to publish: https://github.com/marketplace/actions/publish-vs-code-extension