File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
.azure-pipelines/templates/osx/pack.signed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,25 @@ steps:
11
11
artifactName : ' tmp.macpkg_unsigned'
12
12
downloadPath : ' $(Build.StagingDirectory)\pkg'
13
13
14
+ - powershell : |
15
+ $dir="$(Build.StagingDirectory)\pkg"
16
+ Compress-Archive -Path $dir\*.pkg $dir\gcmcorepkg.zip
17
+ Remove-Item $dir\*.pkg
18
+ displayName: 'Zip package file for signing'
19
+
14
20
- task : ms-vseng.MicroBuildTasks.7973a23b-33e3-4b00-a7d9-c06d90f8297f.MicroBuildSignMacFiles@1
15
21
displayName : Sign package
16
22
inputs :
17
- SigningTarget : ' $(Build.StagingDirectory)\pkg'
23
+ SigningTarget : ' $(Build.StagingDirectory)\pkg\gcmcorepkg.zip '
18
24
SigningCert : 8003
19
25
condition : and(succeeded(), ne(variables['SignType'], 'test'))
20
26
27
+ - powershell : |
28
+ $dir="$(Build.StagingDirectory)\pkg"
29
+ Expand-Archive -LiteralPath $dir\gcmcorepkg.zip -DestinationPath $dir -Force
30
+ Remove-Item $dir\gcmcorepkg.zip -Force
31
+ displayName: 'Unzip signed package file'
32
+
21
33
- task : DownloadPipelineArtifact@1
22
34
displayName : Download signed payload
23
35
inputs :
You can’t perform that action at this time.
0 commit comments