Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit df963c9

Browse files
authoredJul 26, 2022
Merge pull request #4094 from PowerShell/release
Release `v2022.7.2-preview`
2 parents 47e3471 + a75bb88 commit df963c9

File tree

3 files changed

+37
-6
lines changed

3 files changed

+37
-6
lines changed
 

‎CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# PowerShell Extension Release History
22

3+
## v2022.7.2-preview
4+
### Tuesday, July 26, 2022
5+
6+
#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell)
7+
8+
- ✨ 💭 [vscode-powershell #4093](https://github.com/PowerShell/vscode-powershell/pull/4093) - Change `storageUri` to `globalStorageUri` for log and session files.
9+
10+
#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) v3.4.7
11+
12+
No changes.
13+
314
## v2022.7.1-preview
415
### Monday, July 25, 2022
516

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "powershell-preview",
33
"displayName": "PowerShell Preview",
4-
"version": "2022.7.1",
4+
"version": "2022.7.2",
55
"preview": true,
66
"publisher": "ms-vscode",
77
"description": "(Preview) Develop PowerShell modules, commands and scripts in Visual Studio Code!",

‎tools/ReleaseTools.psm1

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ function Update-Changelog {
252252
""
253253
$Bullets
254254
""
255-
"#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices)"
255+
"#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) v$(Get-Version -RepositoryName PowerShellEditorServices)"
256256
""
257257
(Get-FirstChangelog -RepositoryName "PowerShellEditorServices").Where({ $_.StartsWith("- ") }, "SkipUntil")
258258
)
@@ -416,7 +416,7 @@ function New-ReleasePR {
416416

417417
<#
418418
.SYNOPSIS
419-
Kicks off the whole release process.
419+
Kicks off the whole release process for one of the repositories.
420420
.DESCRIPTION
421421
This first updates the changelog (which creates and checks out the `release`
422422
branch), commits the changes, updates the version (and commits), pushes the
@@ -432,6 +432,28 @@ function New-ReleasePR {
432432
assets to the marketplace and gallery.
433433
#>
434434
function New-Release {
435+
[CmdletBinding(SupportsShouldProcess)]
436+
param(
437+
[Parameter(Mandatory)]
438+
[ValidateSet([RepoNames])]
439+
[string]$RepositoryName,
440+
441+
[Parameter(Mandatory)]
442+
[ValidateScript({ $_.StartsWith("v") })]
443+
[string]$Version
444+
)
445+
Update-Changelog -RepositoryName $RepositoryName -Version $Version
446+
Update-Version -RepositoryName $RepositoryName
447+
New-ReleasePR -RepositoryName $RepositoryName
448+
}
449+
450+
<#
451+
.SYNOPSIS
452+
Kicks off the whole release process for both repositories.
453+
.DESCRIPTION
454+
This just simplifies the calling of `New-Release` for both repositories.
455+
#>
456+
function New-ReleaseBundle {
435457
[CmdletBinding(SupportsShouldProcess)]
436458
param(
437459
[Parameter(Mandatory)]
@@ -447,9 +469,7 @@ function New-Release {
447469
"PowerShellEditorServices" { $PsesVersion }
448470
"vscode-powershell" { $VsceVersion }
449471
}
450-
Update-Changelog -RepositoryName $_ -Version $Version
451-
Update-Version -RepositoryName $_
452-
New-ReleasePR -RepositoryName $_
472+
New-Release -RepositoryName $_ -Version $Version
453473
}
454474
}
455475

0 commit comments

Comments
 (0)
Please sign in to comment.