Skip to content

Commit 9ffe30e

Browse files
committed
Update signSrcPath
1 parent 4dcc781 commit 9ffe30e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.pipelines/PowerShellGet-Official.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ extends:
7474
- name: ob_sdl_tsa_configFile
7575
value: $(Build.SourcesDirectory)\PowerShellGet\.config\tsaoptions.json
7676
- name: signSrcPath
77-
value: $(repoRoot)
77+
value: $(repoRoot)/out
7878
- name: ob_sdl_sbom_enabled
7979
value: true
8080
- name: ob_signing_setup_enabled
@@ -104,6 +104,16 @@ extends:
104104
env:
105105
ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
106106
107+
- pwsh: |
108+
Write-Host "Displaying contents of repoRoot:"
109+
Get-ChildItem $(repoRoot) -Recurse
110+
displayName: Get contents of repoRoot
111+
112+
- pwsh: |
113+
Copy-Item $(repoRoot)/src/PowerShellGet.psd1 $(signSrcPath)/PowerShellGet.psd1 -Force
114+
Copy-Item $(repoRoot)/src/PowerShellGet.psm1 $(signSrcPath)/PowerShellGet.psm1 -Force
115+
displayName: Copy files to be signed to signSrcPath
116+
107117
- task: onebranch.pipeline.signing@1
108118
displayName: Sign 1st party files
109119
inputs:

0 commit comments

Comments
 (0)