@@ -100,7 +100,7 @@ stages:
100
100
$null = New-Item -Path $depsPath -ItemType Directory -Verbose
101
101
}
102
102
Get-ChildItem -Path (Join-Path -Path $srcPath -ChildPath "dependencies") -Filter '*.dll' | Foreach-Object {
103
- if ($_.Name -ne 'PSResourceGet.dll') {
103
+ if ($_.Name -ne 'Microsoft.PowerShell. PSResourceGet.dll') {
104
104
$sig = Get-AuthenticodeSignature -FilePath $_.FullName
105
105
if ($sig.Status -ne 'Valid' -or $sig.SignerCertificate.Subject -notlike '*Microsoft*' -or $sig.SignerCertificate.Issuer -notlike '*Microsoft Code Signing PCA*') {
106
106
# Copy for third party signing
@@ -179,7 +179,7 @@ stages:
179
179
$null = New-Item -Path $depsSignedOutPath -ItemType Directory -Verbose
180
180
}
181
181
Get-ChildItem -Path (Join-Path -Path $srcPath -ChildPath "dependencies") -Filter '*.dll' | Foreach-Object {
182
- if ($_.Name -ne 'PSResourceGet.dll') {
182
+ if ($_.Name -ne 'Microsoft.PowerShell. PSResourceGet.dll') {
183
183
$sig = Get-AuthenticodeSignature -FilePath $_.FullName
184
184
if ($sig.Status -eq 'Valid' -and ($sig.SignerCertificate.Subject -like '*Microsoft*' -and $sig.SignerCertificate.Issuer -like '*Microsoft Code Signing PCA*')) {
185
185
# Copy already signed files directly to output
@@ -216,9 +216,9 @@ stages:
216
216
if (! (Test-Path -Path $createdSignSrcPath)) {
217
217
$null = New-Item -Path $createdSignSrcPath -ItemType Directory -Verbose
218
218
}
219
- Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "PSResourceGet.psd1") -Dest $createdSignSrcPath -Force -Verbose
219
+ Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "Microsoft.PowerShell. PSResourceGet.psd1") -Dest $createdSignSrcPath -Force -Verbose
220
220
Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "PSGet.Format.ps1xml") -Dest $createdSignSrcPath -Force -Verbose
221
- Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "PSResourceGet.dll") -Dest $createdSignSrcPath -Force -Verbose
221
+ Copy-Item -Path (Join-Path -Path $srcPath -ChildPath "Microsoft.PowerShell. PSResourceGet.dll") -Dest $createdSignSrcPath -Force -Verbose
222
222
223
223
$signOutPath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'CreatedFilesOut'
224
224
if (! (Test-Path -Path $signOutPath)) {
@@ -290,8 +290,8 @@ stages:
290
290
parameters :
291
291
BuildDropPath : $(signOutPath)
292
292
Build_Repository_Uri : ' https://github.com/powershell/PSResourceGet'
293
- PackageName : ' PSResourceGet'
294
- PackageVersion : ' 3.0.20 '
293
+ PackageName : ' Microsoft.PowerShell. PSResourceGet'
294
+ PackageVersion : ' 0.5.22-beta22 '
295
295
296
296
- pwsh : |
297
297
$modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules'
@@ -352,11 +352,11 @@ stages:
352
352
- checkout : ComplianceRepo
353
353
clean : true
354
354
- download : current
355
- artifact : ' PSResourceGet'
355
+ artifact : ' Microsoft.PowerShell. PSResourceGet'
356
356
- template : assembly-module-compliance.yml@ComplianceRepo
357
357
parameters :
358
358
# binskim
359
- AnalyzeTarget : ' $(Pipeline.Workspace)/PSResourceGet/net472/ PSResourceGet.dll'
359
+ AnalyzeTarget : ' $(Pipeline.Workspace)/Microsoft.PowerShell. PSResourceGet/Microsoft.PowerShell. PSResourceGet.dll'
360
360
AnalyzeSymPath : ' SRV*'
361
361
# component-governance
362
362
sourceScanPath : ' $(Build.SourcesDirectory)'
0 commit comments