Skip to content

Commit

Permalink
update use of signoutpath
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveL-MSFT committed Nov 11, 2023
1 parent e3a67b7 commit 379f27f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .vsts-ci/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ stages:
name: signOutPath
- pwsh: |
# Set path variable for guardian codesign validation
$vstsCommandString = "vso[task.setvariable variable=GDN_CODESIGN_TARGETDIRECTORY]${signOutPath}"
$vstsCommandString = "vso[task.setvariable variable=GDN_CODESIGN_TARGETDIRECTORY]$(signOutPath.signOutPath)"
Write-Host "sending " + $vstsCommandString
Write-Host "##$vstsCommandString"
displayName: Setup variables for signing
Expand All @@ -106,13 +106,13 @@ stages:

- template: Sbom.yml@ComplianceRepo
parameters:
BuildDropPath: $(PackageRoot)/signed
BuildDropPath: $(signOutPath.signOutPath)
Build_Repository_Uri: 'https://github.com/powershell/DSC'
PackageName: 'DSC'
PackageVersion: $(PackageVersion)

- pwsh: |
compress-archive -Path "$(PackageRoot)/signed/*" -DestinationPath "$(PackageRoot)/DSC-$(PackageVersion)-$(buildName).zip"
compress-archive -Path "$(signOutPath.signOutPath)/*" -DestinationPath "$(PackageRoot)/DSC-$(PackageVersion)-$(buildName).zip"
displayName: 'Compress $(buildName)'
condition: succeeded()
- pwsh: |
Expand Down

0 comments on commit 379f27f

Please sign in to comment.