From 836b5a07244cbae128b8eb8ca33325e479ecd7f5 Mon Sep 17 00:00:00 2001 From: Amber Erickson Date: Thu, 14 Jul 2022 16:17:29 -0700 Subject: [PATCH 1/3] Remove ShouldProcess in FindPSResource --- src/code/FindPSResource.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/code/FindPSResource.cs b/src/code/FindPSResource.cs index b99b520c5..6d01c9753 100644 --- a/src/code/FindPSResource.cs +++ b/src/code/FindPSResource.cs @@ -20,8 +20,7 @@ namespace Microsoft.PowerShell.PowerShellGet.Cmdlets /// [Cmdlet(VerbsCommon.Find, "PSResource", - DefaultParameterSetName = ResourceNameParameterSet, - SupportsShouldProcess = true)] + DefaultParameterSetName = ResourceNameParameterSet)] [OutputType(typeof(PSResourceInfo), typeof(PSCommandResourceInfo))] public sealed class FindPSResource : PSCmdlet { From 40889e8cc1681502776d264db0048a4672eb1f4e Mon Sep 17 00:00:00 2001 From: Amber Erickson Date: Wed, 20 Jul 2022 11:48:35 -0700 Subject: [PATCH 2/3] Update version, changelog, and releasenotes --- .ci/ci.yml | 2 +- .ci/ci_auto.yml | 2 +- .ci/ci_release.yml | 4 ++-- .ci/test.yml | 2 +- CHANGELOG.md | 10 ++++++++++ src/PowerShellGet.psd1 | 14 ++++++++++++-- src/code/PowerShellGet.csproj | 6 +++--- 7 files changed, 30 insertions(+), 10 deletions(-) diff --git a/.ci/ci.yml b/.ci/ci.yml index 7728cf1fa..9947c2a5a 100644 --- a/.ci/ci.yml +++ b/.ci/ci.yml @@ -49,7 +49,7 @@ stages: - pwsh: | $modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules' Write-Verbose -Verbose "Install PowerShellGet V3 to temp module path" - Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.0-beta10 -AllowPrerelease -Force + Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.14-beta14 -AllowPrerelease -Force Write-Verbose -Verbose "Install PlatyPS to temp module path" Save-Module -Name "platyPS" -Path $modulePath -Force Write-Verbose -Verbose "Install PSScriptAnalyzer to temp module path" diff --git a/.ci/ci_auto.yml b/.ci/ci_auto.yml index 78090b56d..0cd80c7bc 100644 --- a/.ci/ci_auto.yml +++ b/.ci/ci_auto.yml @@ -57,7 +57,7 @@ stages: - pwsh: | $modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules' Write-Verbose -Verbose "Install PowerShellGet V3 to temp module path" - Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.0-beta10 -AllowPrerelease -Force + Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.14-beta14 -AllowPrerelease -Force Write-Verbose -Verbose "Install PlatyPS to temp module path" Save-Module -Name "platyPS" -Path $modulePath -Force Write-Verbose -Verbose "Install PSScriptAnalyzer to temp module path" diff --git a/.ci/ci_release.yml b/.ci/ci_release.yml index 8f1a739df..91cc86dc2 100644 --- a/.ci/ci_release.yml +++ b/.ci/ci_release.yml @@ -46,7 +46,7 @@ stages: - pwsh: | $modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules' Write-Verbose -Verbose "Install PowerShellGet V3 to temp module path" - Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.0-beta10 -AllowPrerelease -Force + Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.14-beta14 -AllowPrerelease -Force Write-Verbose -Verbose "Install PlatyPS to temp module path" Save-Module -Name "platyPS" -Path $modulePath -Force Write-Verbose -Verbose "Install PSScriptAnalyzer to temp module path" @@ -244,7 +244,7 @@ stages: BuildDropPath: $(signOutPath) Build_Repository_Uri: 'https://github.com/powershell/powershellget' PackageName: 'PowerShellGet' - PackageVersion: '3.0.14' + PackageVersion: '3.0.15' - pwsh: | $modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules' diff --git a/.ci/test.yml b/.ci/test.yml index aa141662c..24efbccce 100644 --- a/.ci/test.yml +++ b/.ci/test.yml @@ -37,7 +37,7 @@ jobs: - ${{ parameters.powershellExecutable }}: | $modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules' Write-Verbose -Verbose "Install PowerShellGet V3 to temp module path" - Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.0-beta10 -AllowPrerelease -Force + Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.14-beta14 -AllowPrerelease -Force Write-Verbose -Verbose "Install PlatyPS to temp module path" Save-Module -Name "platyPS" -Path $modulePath -Force Write-Verbose -Verbose "Install PSScriptAnalyzer to temp module path" diff --git a/CHANGELOG.md b/CHANGELOG.md index 99ff88819..80a5829e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # CHANGELOG +## 3.0.15-beta15 + +### New Features +- Implementation of New-ScriptFileInfo, Update-ScriptFileInfo, and Test-ScriptFileInfo cmdlets (#708) +- Implementation of Update-ModuleManifest cmdlet (#677) +- Implentation of Authenticode validation via -AuthenticodeCheck for Install-PSResource (#632) + +### Bug Fixes +- Bug fix for installing modules with manifests that contain dynamic script blocks (#681) + ## 3.0.14-beta14 ### Bug Fixes diff --git a/src/PowerShellGet.psd1 b/src/PowerShellGet.psd1 index 2b4953d39..ec1415ddb 100644 --- a/src/PowerShellGet.psd1 +++ b/src/PowerShellGet.psd1 @@ -3,7 +3,7 @@ @{ RootModule = './netstandard2.0/PowerShellGet.dll' - ModuleVersion = '3.0.14' + ModuleVersion = '3.0.15' GUID = '1d73a601-4a6c-43c5-ba3f-619b18bbb404' Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' @@ -34,7 +34,7 @@ AliasesToExport = @('inmo', 'fimo', 'upmo', 'pumo') PrivateData = @{ PSData = @{ - Prerelease = 'beta14' + Prerelease = 'beta15' Tags = @('PackageManagement', 'PSEdition_Desktop', 'PSEdition_Core', @@ -44,6 +44,16 @@ ProjectUri = 'https://go.microsoft.com/fwlink/?LinkId=828955' LicenseUri = 'https://go.microsoft.com/fwlink/?LinkId=829061' ReleaseNotes = @' +## 3.0.15-beta15 + +### New Features +- Implementation of New-ScriptFileInfo, Update-ScriptFileInfo, and Test-ScriptFileInfo cmdlets (#708) +- Implementation of Update-ModuleManifest cmdlet (#677) +- Implentation of Authenticode validation via -AuthenticodeCheck for Install-PSResource (#632) + +### Bug Fixes +- Bug fix for installing modules with manifests that contain dynamic script blocks (#681) + ## 3.0.14-beta14 ### Bug Fixes diff --git a/src/code/PowerShellGet.csproj b/src/code/PowerShellGet.csproj index 68ada6965..85e5c80d2 100644 --- a/src/code/PowerShellGet.csproj +++ b/src/code/PowerShellGet.csproj @@ -5,9 +5,9 @@ Library PowerShellGet PowerShellGet - 3.0.14.0 - 3.0.14 - 3.0.14 + 3.0.15.0 + 3.0.15 + 3.0.15 netstandard2.0 8.0 From e739ebc49202214a4ddf095369e23aa0eb5551cd Mon Sep 17 00:00:00 2001 From: Amber Erickson Date: Wed, 20 Jul 2022 11:56:44 -0700 Subject: [PATCH 3/3] Revert updating ci versions --- .ci/ci.yml | 2 +- .ci/ci_auto.yml | 2 +- .ci/ci_release.yml | 2 +- .ci/test.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.ci/ci.yml b/.ci/ci.yml index 9947c2a5a..7728cf1fa 100644 --- a/.ci/ci.yml +++ b/.ci/ci.yml @@ -49,7 +49,7 @@ stages: - pwsh: | $modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules' Write-Verbose -Verbose "Install PowerShellGet V3 to temp module path" - Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.14-beta14 -AllowPrerelease -Force + Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.0-beta10 -AllowPrerelease -Force Write-Verbose -Verbose "Install PlatyPS to temp module path" Save-Module -Name "platyPS" -Path $modulePath -Force Write-Verbose -Verbose "Install PSScriptAnalyzer to temp module path" diff --git a/.ci/ci_auto.yml b/.ci/ci_auto.yml index 0cd80c7bc..78090b56d 100644 --- a/.ci/ci_auto.yml +++ b/.ci/ci_auto.yml @@ -57,7 +57,7 @@ stages: - pwsh: | $modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules' Write-Verbose -Verbose "Install PowerShellGet V3 to temp module path" - Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.14-beta14 -AllowPrerelease -Force + Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.0-beta10 -AllowPrerelease -Force Write-Verbose -Verbose "Install PlatyPS to temp module path" Save-Module -Name "platyPS" -Path $modulePath -Force Write-Verbose -Verbose "Install PSScriptAnalyzer to temp module path" diff --git a/.ci/ci_release.yml b/.ci/ci_release.yml index 91cc86dc2..46a67f715 100644 --- a/.ci/ci_release.yml +++ b/.ci/ci_release.yml @@ -46,7 +46,7 @@ stages: - pwsh: | $modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules' Write-Verbose -Verbose "Install PowerShellGet V3 to temp module path" - Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.14-beta14 -AllowPrerelease -Force + Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.0-beta10 -AllowPrerelease -Force Write-Verbose -Verbose "Install PlatyPS to temp module path" Save-Module -Name "platyPS" -Path $modulePath -Force Write-Verbose -Verbose "Install PSScriptAnalyzer to temp module path" diff --git a/.ci/test.yml b/.ci/test.yml index 24efbccce..aa141662c 100644 --- a/.ci/test.yml +++ b/.ci/test.yml @@ -37,7 +37,7 @@ jobs: - ${{ parameters.powershellExecutable }}: | $modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules' Write-Verbose -Verbose "Install PowerShellGet V3 to temp module path" - Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.14-beta14 -AllowPrerelease -Force + Save-Module -Name PowerShellGet -Path $modulePath -MinimumVersion 3.0.0-beta10 -AllowPrerelease -Force Write-Verbose -Verbose "Install PlatyPS to temp module path" Save-Module -Name "platyPS" -Path $modulePath -Force Write-Verbose -Verbose "Install PSScriptAnalyzer to temp module path"