8000 [release/v7.4] Add Windows Store Signing to MSIX bundle (#25472) · PowerShell/PowerShell@e2c3e5d · GitHub
[go: up one dir, main page]

Skip to content

Commit e2c3e5d

Browse files
pwshBotjshigetomiJustin Chung
authored
[release/v7.4] Add Windows Store Signing to MSIX bundle (#25472)
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com> Co-authored-by: Justin Chung <chungjustin@microsoft.com>
1 parent 51a5e23 commit e2c3e5d

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.pipelines/PowerShell-Release-Official.yml

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ variables:
5858
- name: ReleaseTagVar
5959
value: ${{ parameters.ReleaseTagVar }}
6060
- group: PoolNames
61+
- group: MSIXSigningProfile
6162

6263
resources:
6364
repositories:

.pipelines/templates/release-create-msix.yml

+18
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,24 @@ jobs:
7575
displayName: Create MsixBundle
7676
retryCountOnTaskFailure: 1
7777
78+
- task: onebranch.pipeline.signing@1
79+
displayName: Sign MsixBundle
80+
inputs:
81+
command: 'sign'
82+
signing_profile: $(MSIXProfile)
83+
files_to_sign: '**/*.msixbundle'
84+
search_root: '$(BundleDir)'
85+
86+
- pwsh: |
87+
$signedBundle = Get-ChildItem -Path $(BundleDir) -Filter "*.msixbundle" -File
88+
Write-Verbose -Verbose "Signed bundle: $signedBundle"
89+
90+
Copy-Item -Path $signedBundle -Destination $(ob_outputDirectory) -Verbose
91+
92+
Write-Verbose -Verbose "Uploaded Bundle:"
93+
Get-ChildItem -Path $(ob_outputDirectory) | Write-Verbose -Verbose
94+
displayName: Upload msixbundle to Artifacts
95+
7896
- task: AzurePowerShell@5
7997
displayName: Upload msix to blob
8098
inputs:

0 commit comments

Comments
 (0)
0