|
22 | 22 | * Create a PR for this branch. |
23 | 23 | * Wait for the PR to be merged into `main` |
24 | 24 | 1. Switch to `main` branch and pull latest changes |
25 | | -1. Lock the `main` branch. |
| 25 | +1. Lock the `main` branch. |
26 | 26 | * Go to the [branch protection rules for the `main` branch](https://github.com/github/vscode-codeql/settings/branch_protection_rules/16447115) |
27 | 27 | * Select "Lock branch" |
28 | 28 | * Click "Save changes" |
29 | 29 | 1. Ensure that no PRs have been merged since the release PR that you merged. If there were, you might need to unlock `main` temporarily and update the CHANGELOG again. |
30 | 30 | 1. Build the extension `npm run build` and install it on your VS Code using "Install from VSIX". |
31 | 31 | 1. Go through [our test plan](./test-plan.md) to ensure that the extension is working as expected. |
32 | 32 | 1. Switch to `main` and add a new tag on the `main` branch with your new version (named after the release), e.g. |
| 33 | + |
33 | 34 | ```bash |
34 | 35 | git checkout main |
35 | 36 | git tag v1.3.6 |
36 | 37 | ``` |
37 | 38 |
|
38 | 39 | If you've accidentally created a badly named tag, you can delete it via |
39 | | - ```bash |
40 | | - git tag -d badly-named-tag |
41 | | - ``` |
| 40 | +
|
| 41 | + ```bash |
| 42 | + git tag -d badly-named-tag |
| 43 | + ``` |
| 44 | +
|
42 | 45 | 1. Unlock the main branch |
43 | 46 | * Go to the [branch protection rules for the `main` branch](https://github.com/github/vscode-codeql/settings/branch_protection_rules/16447115) |
44 | 47 | * Deselect "Lock branch" |
|
68 | 71 | or look at the source if there's any doubt the right code is being shipped. |
69 | 72 | 1. Install the `.vsix` file into your vscode IDE and ensure the extension can load properly. Run a single command (like run query, or add database). |
70 | 73 | 1. Go to the actions tab of the vscode-codeql repository and select the [Release workflow](https://github.com/github/vscode-codeql/actions?query=workflow%3ARelease). |
71 | | - - If there is an authentication failure when publishing, be sure to check that the authentication keys haven't expired. See below. |
| 74 | + * If there is an authentication failure when publishing, be sure to check that the authentication keys haven't expired. See below. |
72 | 75 | 1. Approve the deployments of the correct Release workflow. This will automatically publish to Open VSX and VS Code Marketplace. |
73 | 76 | 1. Go to the draft GitHub release in [the releases tab of the repository](https://github.com/github/vscode-codeql/releases), click 'Edit', add some summary description, and publish it. |
74 | 77 | 1. Confirm the new release is marked as the latest release at <https://github.com/github/vscode-codeql/releases>. |
|
0 commit comments