@@ -50,29 +50,29 @@ For more information on contributing snippets please read our
50
50
## Creating a Release
51
51
52
52
These are the current steps for creating a release for both the editor services
53
- and the extension. ADO access is restricted to Microsoft employees and is used
54
- to sign and validate the produced binaries before publishing on behalf of
55
- Microsoft. The comments are manual steps .
53
+ and the extension. Azure DevOps access is restricted to Microsoft employees and
54
+ is used to sign and validate the produced binaries before publishing on behalf
55
+ of Microsoft .
56
56
57
57
``` powershell
58
- Import-Module ./tools/ReleaseTools.psm1
59
- New-ReleaseBundle -PsesVersion <version> -VsceVersion <version>
60
- # Amend changelog as necessary
61
- # Push release branches to ADO
62
- # Download and test assets
63
- # Check telemetry for stability before releasing
64
- # Publish draft releases and merge (don't squash!) branches
65
- # Permit vscode-extension pipeline to publish to marketplace
66
- ```
67
-
68
- If rolling from pre-release to release, use:
58
+ cd ./PowerShellEditorServices
59
+ git checkout -B release
60
+ ./tools/updateVersion.ps1 -Version "4.0.0" -Changes "Major release!"
69
61
70
- ``` powershell
71
- New-Release -RepositoryName vscode-powershell -Version <version>
62
+ cd ../vscode-powershell
63
+ git checkout -B release
64
+ ./tools/updateVersion.ps1 -Version "2024.4.0" -Changes "Major release!"
72
65
```
73
66
74
- This is because we do not change the version of PowerShell Editor Services between a
75
- pre-release and the subsequent release, so we only need to release the extension.
67
+ 1 . Amend changelogs as necessary.
68
+ 2 . Push release branches to ADO and GitHub.
69
+ 3 . Download and test assets!
70
+ 4 . Publish draft releases and merge (don't squash!) branches.
71
+ 5 . Permit pipeline to publish to marketplace.
72
+
73
+ If rolling from pre-release to release, do not change the version of PowerShell
74
+ Editor Services between a pre-release and the subsequent release! We only
75
+ need to release the extension.
76
76
77
77
### Versioning
78
78
@@ -118,7 +118,7 @@ pre-release tags in full) we can revisit this.
118
118
Furthermore, for releases, the minor version must be _ even_ (like 0, 2, etc.) and for
119
119
pre-releases it must be _ odd_ (like 1, 3, etc.), and an upcoming release's version must be
120
120
` n-1 ` of the pre-release which previews it. That is, release ` v2024.0.0 ` is previewed in
121
- the pre-release ` v2024.1.0 ` . This scheme is designed such that the "newest" (by version)
121
+ the pre-release ` v2024.1.0-preview ` . This scheme is designed such that the "newest" (by version)
122
122
release is always a pre-release, so that the VS Code marketplace _ always_ shows a
123
123
pre-release option. When we previously did this the other way around (incrementing the
124
124
release as ` n+1 ` to the pre-release), every time we released, the pre-release option
0 commit comments