Skip to content

Commit

Permalink
Add publishing instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
thsparks committed Jan 10, 2025
1 parent b4e54bc commit 245cc34
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions development.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,15 @@ yarn link makecode-core makecode-browser

Make sure you run `yarn compile` inside of `makecode-core` and `makecode-browser` to build the packages!

## Publishing the Extension

The extension is published through an Azure DevOps Pipeline: [vscode-makecode release publishing pipeline](https://dev.azure.com/devdiv/DevDiv/_build?definitionId=18132)

Click "Run Pipeline" in the upper left, then check or uncheck the `isPrerelease` box in the flyout that appears, depending on which you are releasing. The other fields should be okay with their default values.

You will likely need to update the PAT we use to auth to the vscode marketplace. To do this:
1. Go to your Azure DevOps User Settings -> Personal Access Tokens ([here](https://dev.azure.com/devdiv/_usersSettings/tokens)).
2. Create a new PAT. Set the scope to "Custom Defined" and then scroll down to "Marketplace" and give "Read", "Publish", and "Manage" permissions to the PAT.
3. With the new PAT, go to the "makecode-marketplace-pat" variable group under Pipelines -> Library. ([here](https://dev.azure.com/devdiv/DevDiv/_library?itemType=VariableGroups&view=VariableGroupView&variableGroupId=462&path=makecode-marketplace-pat))
4. Find the `marketplace-pat` variable, update it with your new PAT, and click "Save" at the top of the page.
5. Now run the pipeline

0 comments on commit 245cc34

Please sign in to comment.