1.4 KiB
1.4 KiB
Courses VSCode Extension
This details the maintenance guidelines for the freeCodeCamp/courses-vscode-extension repository which contains the source code for the freeCodeCamp - Courses extension.
Publishing the Extension
A GitHub Action automagically publishes the extension to the Visual Studio Marketplace, on pushes to the prod
branch.
Ensure the main
branch is checked out.
git checkout main
Update the local repository with upstream
, and reset main
.
git fetch upstream
git reset --hard upstream/main
Checkout the prod
branch.
git checkout prod
Merge the commits wanted for deployment into prod
.
git merge main
Push the local branch to upstream
.
git push upstream
[!NOTE] Pushing to
upstream
requires write access to thefreeCodeCamp/courses-vscode-extension
repository.
Manually Publishing the Extension
A manual upload to the Visual Studio Marketplace can be achieved, by following these steps:
- Visit https://marketplace.visualstudio.com/ and sign in
- Navigate to the freeCodeCamp Publisher page
- Select the relevant extension, and select
Update
- Upload the file from your local files