Skip to content

Commit d78bc9e

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix sign path
1 parent 6fb8544 commit d78bc9e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.pipelines/DSC-Official.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ extends:
8787
ob_sdl_tsa_configFile: $(Build.SourcesDirectory)\DSC\.config\tsaoptions.json
8888
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
8989
repoRoot: $(Build.SourcesDirectory)\DSC
90-
signSrcPath: $(Agent.TempDirectory)/signSrcPath
90+
signSrcPath: $(Agent.TempDirectory)\signSrcPath
9191
ob_artifactBaseName: 'DSC-$(buildName)'
9292
ob_sdl_sbom_enabled: true
9393
ob_signing_setup_enabled: true
@@ -134,8 +134,7 @@ extends:
134134
command: 'sign'
135135
signing_profile: external_distribution
136136
files_to_sign: |
137-
*.exe;
138-
*.ps1;
137+
**\*.exe;
139138
**\*.ps1;
140139
**\*.psd1;
141140
**\*.psm1;
@@ -255,6 +254,11 @@ extends:
255254
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
256255
displayName: 'Build $(buildName)'
257256
condition: succeeded()
257+
- task: PublishPipelineArtifact@1
258+
displayName: Publish Pipeline Artifact
259+
inputs:
260+
targetPath: '$(ob_outputDirectory)'
261+
artifact: 'DSC-$(buildName)'
258262

259263
- stage: Release
260264
dependsOn: BuildAndSign

0 commit comments

Comments
 (0)