Skip to content

Commit 8bd3560

Browse files
committed
Update release tools
We're replacing PowerShellForGitHub with the ADO GitHubRelease task, and the changelog generation with GitHub's automatic one. That means we can simplify a bunch of this.
1 parent d49b702 commit 8bd3560

7 files changed

+109
-612
lines changed

.github/release.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- Ignore
5+
authors:
6+
- dependabot[bot]
7+
categories:
8+
- title: Enhancements & Features ✨
9+
labels:
10+
- Issue-Enhancement
11+
- title: Squashed Bugs 🐛
12+
labels:
13+
- Issue-Bug
14+
- title: Other Changes 🙏
15+
labels:
16+
- "*"

docs/development.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,29 @@ For more information on contributing snippets please read our
5050
## Creating a Release
5151

5252
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.
5656

5757
```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!"
6961
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!"
7265
```
7366

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.
7676

7777
### Versioning
7878

0 commit comments

Comments
 (0)