Closed kamack38 closed 2 years ago
No.
You can only move files afterwards, perhaps as a custom plugin in update_all in AfterEach
script.
AfterEach = {
Get-ChildItem -Depth 1 | Where-Object Name -Match .*.nupkg | Move-Item -Destination .\nupkgs\ -Force
}
I've added this to update_all.ps1
, but how can I add this inti test_all.ps1
?
I've added hti into test_all.ps1
$options = [ordered]@{
AfterEach = {
Get-ChildItem -Depth 1 | Where-Object Name -Match .*.nupkg | Move-Item -Destination ..\nupkgs\ -Force
}
}
And now it works! Thank you for your cooperation.
No problem :)
Can I change path to where I want to save
.nupkg
files?For Example : I have
package 1
andpackage 2
And I want to save the files to
nupkgs
folder. How can I do that?