Skip to content

Commit 1cab32c

Browse files
Merge pull request #3420 from PowerShell/release/v2021.6.1-preview
Release v2021.6.1 preview
2 parents b20f9b4 + 5ad4b87 commit 1cab32c

File tree

3 files changed

+61
-6
lines changed

3 files changed

+61
-6
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# PowerShell Extension Release History
22

3+
## v2021.6.1-preview
4+
### Wednesday, June 16, 2021
5+
6+
#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell)
7+
8+
- 📁✨ [vscode-powershell #3334](https://github.com/PowerShell/vscode-powershell/pull/3416) - Explicitly disable extension for untrusted workspaces.
9+
- 📺 [vscode-powershell #3378](https://github.com/PowerShell/vscode-powershell/pull/3413) - Include `$` in PowerShell word separators.
10+
- #️⃣ 🙏 [vscode-powershell #3390](https://github.com/PowerShell/vscode-powershell/pull/3392) - Change OS-architecture check to work with other locales. (Thanks @mat-ocl!)
11+
12+
#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices)
13+
14+
- 🐛 [PowerShellEditorServices #1495](https://github.com/PowerShell/PowerShellEditorServices/pull/1500) - Prevent some exceptions.
15+
- #️⃣ 🙏 [vscode-powershell #3395](https://github.com/PowerShell/PowerShellEditorServices/pull/1494) - Work around `dotnet publish` bug.
16+
17+
318
## v2021.5.1
419
### Thursday, May 27, 2021
520

docs/development.md

+41-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,44 @@ code --extensionDevelopmentPath="c:\path\to\vscode-powershell" .
5353

5454
## Contributing Snippets
5555

56-
For more information on contributing snippets please read our [snippet requirements](https://github.com/PowerShell/vscode-powershell/blob/master/docs/community_snippets.md#contributing).
56+
For more information on contributing snippets please read our
57+
[snippet requirements](https://github.com/PowerShell/vscode-powershell/blob/master/docs/community_snippets.md#contributing).
58+
59+
## Creating a Release
60+
61+
These are the current steps for creating a release for both the editor services
62+
and the extension. ADO access is restricted to Microsoft employees and is used
63+
to sign and validate the produced binaries before publishing on behalf of
64+
Microsoft. The comments are manual steps.
65+
66+
```powershell
67+
Import-Module ./tools/ReleaseTools.psm1
68+
Update-Changelog -RepositoryName PowerShellEditorServices -Version <version>
69+
Update-Changelog -RepositoryName vscode-powershell -Version <version>
70+
# Amend changelog as necessary
71+
Update-Version -RepositoryName PowerShellEditorServices
72+
Update-Version -RepositoryName vscode-powershell
73+
# Push branches to GitHub and ADO
74+
# Open PRs for review
75+
# Download and test assets (assert correct PSES is included)
76+
# Rename VSIX correctly
77+
New-DraftRelease -RepositoryName PowerShellEditorServices
78+
New-DraftRelease -RepositoryName vscode-powershell
79+
# Point releases to branches for automatic tagging
80+
# Upload PowerShellEditorServices.zip (for other extensions)
81+
# Upload VSIX and Install-VSCode.ps1
82+
# Publish draft releases and merge (don't squash!) branches
83+
vsce publish --packagePath ./PowerShell-<version>.vsix
84+
# Update Install-VSCode.ps1 on gallery
85+
Publish-Script -Path ./Install-VSCode.ps1 -NuGetApiKey (Get-Secret "PowerShell Gallery API Key" -AsPlainText)
86+
```
87+
88+
### Pending Improvements
89+
90+
* `Update-Changelog` should verify the version is in the correct format
91+
* `Update-Changelog` could be faster by not downloading _every_ PR
92+
* `Update-Changelog` should use exactly two emoji and in the right order
93+
* `Update-Version` could be run by `Update-Changelog`
94+
* `New-DraftRelease` could automatically set the tag pointers and upload the binaries
95+
* The build should emit an appropriately named VSIX instead of us manually renaming it
96+
* A `Publish-Binaries` function could be written to push the binaries out

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "powershell",
3-
"displayName": "PowerShell",
4-
"version": "2021.5.1",
5-
"preview": false,
2+
"name": "powershell-preview",
3+
"displayName": "PowerShell Preview",
4+
"version": "2021.6.1",
5+
"preview": true,
66
"publisher": "ms-vscode",
7-
"description": "Develop PowerShell modules, commands and scripts in Visual Studio Code!",
7+
"description": "(Preview) Develop PowerShell modules, commands and scripts in Visual Studio Code!",
88
"engines": {
99
"vscode": "^1.53.0"
1010
},

0 commit comments

Comments
 (0)