Skip to content

Publishing the extension

Josh Tynjala edited this page Apr 4, 2025 · 1 revision

Authors of vscode-swf-debug with appropriate access may use the following instructions to publish a new extension update.

Run the following command in the root directory of the cloned repository to build the extension.

mvn clean package

The extension's built artifacts will be in distribution/target/vscode-swf-debug/vscode-swf-debug/.

Move the generated vscode-swf-debug-x.y.z.vsix file out of this directory, but don't delete it. It needs to be uploaded for the GitHub release.

Visual Studio Code Marketplace

In the distribution/target/vscode-swf-debug/vscode-swf-debug/ directory, run the following command:

npx @vscode/vsce@latest publish

The Marketplace requires a Personal Access Token (PAT). This token expires from time to time, which requires creating a new a Personal access token.

Open VSX Registry

To publish the extension to Open-VSX.

Run the following command in the directory that contains the .vsix file.

npx ovsx@latest publish vscode-swf-debug-x.y.z.vsix 

Open VSX has its own separate Personal Access Token (PAT). See Open VSX Registry: Publishing Extensions for details.

Clone this wiki locally