Skip to content

Release v2022.7.2-preview #4094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# PowerShell Extension Release History

## v2022.7.2-preview
### Tuesday, July 26, 2022

#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell)

- ✨ 💭 [vscode-powershell #4093](https://github.com/PowerShell/vscode-powershell/pull/4093) - Change `storageUri` to `globalStorageUri` for log and session files.

#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) v3.4.7

No changes.

## v2022.7.1-preview
### Monday, July 25, 2022

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "powershell-preview",
"displayName": "PowerShell Preview",
"version": "2022.7.1",
"version": "2022.7.2",
"preview": true,
"publisher": "ms-vscode",
"description": "(Preview) Develop PowerShell modules, commands and scripts in Visual Studio Code!",
Expand Down
30 changes: 25 additions & 5 deletions tools/ReleaseTools.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function Update-Changelog {
""
$Bullets
""
"#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices)"
"#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) v$(Get-Version -RepositoryName PowerShellEditorServices)"
""
(Get-FirstChangelog -RepositoryName "PowerShellEditorServices").Where({ $_.StartsWith("- ") }, "SkipUntil")
)
Expand Down Expand Up @@ -416,7 +416,7 @@ function New-ReleasePR {

<#
.SYNOPSIS
Kicks off the whole release process.
Kicks off the whole release process for one of the repositories.
.DESCRIPTION
This first updates the changelog (which creates and checks out the `release`
branch), commits the changes, updates the version (and commits), pushes the
Expand All @@ -432,6 +432,28 @@ function New-ReleasePR {
assets to the marketplace and gallery.
#>
function New-Release {
[CmdletBinding(SupportsShouldProcess)]
param(
[Parameter(Mandatory)]
[ValidateSet([RepoNames])]
[string]$RepositoryName,

[Parameter(Mandatory)]
[ValidateScript({ $_.StartsWith("v") })]
[string]$Version
)
Update-Changelog -RepositoryName $RepositoryName -Version $Version
Update-Version -RepositoryName $RepositoryName
New-ReleasePR -RepositoryName $RepositoryName
}

<#
.SYNOPSIS
Kicks off the whole release process for both repositories.
.DESCRIPTION
This just simplifies the calling of `New-Release` for both repositories.
#>
function New-ReleaseBundle {
[CmdletBinding(SupportsShouldProcess)]
param(
[Parameter(Mandatory)]
Expand All @@ -447,9 +469,7 @@ function New-Release {
"PowerShellEditorServices" { $PsesVersion }
"vscode-powershell" { $VsceVersion }
}
Update-Changelog -RepositoryName $_ -Version $Version
Update-Version -RepositoryName $_
New-ReleasePR -RepositoryName $_
New-Release -RepositoryName $_ -Version $Version
}
}

Expand Down