From 836b5a07244cbae128b8eb8ca33325e479ecd7f5 Mon Sep 17 00:00:00 2001 From: Amber Erickson Date: Thu, 14 Jul 2022 16:17:29 -0700 Subject: [PATCH 1/6] 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 53a444090af6db3ec68005c08be806b14b57ff95 Mon Sep 17 00:00:00 2001 From: Amber Erickson Date: Wed, 27 Jul 2022 16:04:48 -0700 Subject: [PATCH 2/6] Copy LICENSE and notice.txt to output path in yamls --- .ci/ci_auto.yml | 4 ++++ .ci/ci_release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.ci/ci_auto.yml b/.ci/ci_auto.yml index 78090b56d..ca6978410 100644 --- a/.ci/ci_auto.yml +++ b/.ci/ci_auto.yml @@ -233,6 +233,10 @@ stages: # en-US Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "en-US") -Dest $signOutPath -Recurse + # Copy Notice.txt + Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "Notice.txt") -Dest $signOutPath -Recurse + # Copy LICENSE + Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "LICENSE") -Dest $signOutPath -Recurse # NetStandard directory $netStandardSignedOutPath = Join-Path -Path $signOutPath -ChildPath "netstandard2.0" diff --git a/.ci/ci_release.yml b/.ci/ci_release.yml index b5a3f326c..67ffaaf18 100644 --- a/.ci/ci_release.yml +++ b/.ci/ci_release.yml @@ -220,6 +220,10 @@ stages: # en-US Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "en-US") -Dest $signOutPath -Recurse + # Copy Notice.txt + Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "Notice.txt") -Dest $signOutPath -Recurse + # Copy LICENSE + Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "LICENSE") -Dest $signOutPath -Recurse # NetStandard directory $netStandardSignedOutPath = Join-Path -Path $signOutPath -ChildPath "netstandard2.0" From 6c01fe2cf2a6e2e570b365b79d42d0d57c06ee00 Mon Sep 17 00:00:00 2001 From: alerickson <25858831+alerickson@users.noreply.github.com> Date: Wed, 27 Jul 2022 16:12:35 -0700 Subject: [PATCH 3/6] Update .ci/ci_auto.yml Co-authored-by: Paul Higinbotham --- .ci/ci_auto.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/ci_auto.yml b/.ci/ci_auto.yml index ca6978410..f5018b22a 100644 --- a/.ci/ci_auto.yml +++ b/.ci/ci_auto.yml @@ -234,7 +234,7 @@ stages: # en-US Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "en-US") -Dest $signOutPath -Recurse # Copy Notice.txt - Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "Notice.txt") -Dest $signOutPath -Recurse + Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "Notice.txt") -Dest $signOutPath # Copy LICENSE Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "LICENSE") -Dest $signOutPath -Recurse From 38c6d9289822d2d2612c39419eec4809593f5a79 Mon Sep 17 00:00:00 2001 From: alerickson <25858831+alerickson@users.noreply.github.com> Date: Wed, 27 Jul 2022 16:12:42 -0700 Subject: [PATCH 4/6] Update .ci/ci_auto.yml Co-authored-by: Paul Higinbotham --- .ci/ci_auto.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/ci_auto.yml b/.ci/ci_auto.yml index f5018b22a..603e9e525 100644 --- a/.ci/ci_auto.yml +++ b/.ci/ci_auto.yml @@ -236,7 +236,7 @@ stages: # Copy Notice.txt Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "Notice.txt") -Dest $signOutPath # Copy LICENSE - Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "LICENSE") -Dest $signOutPath -Recurse + Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "LICENSE") -Dest $signOutPath # NetStandard directory $netStandardSignedOutPath = Join-Path -Path $signOutPath -ChildPath "netstandard2.0" From 88db851594300b1cdd44e1b249e8755b58ca9b0a Mon Sep 17 00:00:00 2001 From: alerickson <25858831+alerickson@users.noreply.github.com> Date: Wed, 27 Jul 2022 16:13:33 -0700 Subject: [PATCH 5/6] Update .ci/ci_release.yml Co-authored-by: Paul Higinbotham --- .ci/ci_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/ci_release.yml b/.ci/ci_release.yml index 67ffaaf18..0fd2a2282 100644 --- a/.ci/ci_release.yml +++ b/.ci/ci_release.yml @@ -221,7 +221,7 @@ stages: # en-US Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "en-US") -Dest $signOutPath -Recurse # Copy Notice.txt - Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "Notice.txt") -Dest $signOutPath -Recurse + Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "Notice.txt") -Dest $signOutPath # Copy LICENSE Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "LICENSE") -Dest $signOutPath -Recurse From 1009daa30e4da782874bd8fae18b516f0d6d1a41 Mon Sep 17 00:00:00 2001 From: alerickson <25858831+alerickson@users.noreply.github.com> Date: Wed, 27 Jul 2022 16:13:38 -0700 Subject: [PATCH 6/6] Update .ci/ci_release.yml Co-authored-by: Paul Higinbotham --- .ci/ci_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/ci_release.yml b/.ci/ci_release.yml index 0fd2a2282..94b00eb42 100644 --- a/.ci/ci_release.yml +++ b/.ci/ci_release.yml @@ -223,7 +223,7 @@ stages: # Copy Notice.txt Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "Notice.txt") -Dest $signOutPath # Copy LICENSE - Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "LICENSE") -Dest $signOutPath -Recurse + Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "LICENSE") -Dest $signOutPath # NetStandard directory $netStandardSignedOutPath = Join-Path -Path $signOutPath -ChildPath "netstandard2.0"