File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
e2eTests/scenarios/FederatedCredentials Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -126,15 +126,15 @@ Test-LogContainsFromRun -repository $repository -runid $run.id -jobName 'Deliver
126
126
127
127
# Test artifacts generated
128
128
$artifacts = gh api - H " Accept: application/vnd.github+json" - H " X-GitHub-Api-Version: 2022-11-28" / repos/ $repository / actions/ runs/ $ ($run.id )/ artifacts | ConvertFrom-Json
129
- @ ($artifacts.artifacts.Name ) -like " Library Apps-main-Apps-*.*.*.0 " | Should - Be $true
130
- @ ($artifacts.artifacts.Name ) -like " Main App-main-Apps-*.*.*.0 " | Should - Be $true
131
- @ ($artifacts.artifacts.Name ) -like " Main App-main-Dependencies-*.*.*.0 " | Should - Be $true
129
+ @ ($artifacts.artifacts.Name ) -like " Library Apps-main-Apps-$ ( $newVersion .Major ) . $ ( $newVersion .Minor ) . $ ( $newVersion .Build ) .* " | Should - Be $true
130
+ @ ($artifacts.artifacts.Name ) -like " Main App-main-Apps-$ ( $newVersion .Major ) . $ ( $newVersion .Minor ) . $ ( $newVersion .Build ) .* " | Should - Be $true
131
+ @ ($artifacts.artifacts.Name ) -like " Main App-main-Dependencies-$ ( $newVersion .Major ) . $ ( $newVersion .Minor ) . $ ( $newVersion .Build ) .* " | Should - Be $true
132
132
133
133
Write-Host " Download build artifacts"
134
134
invoke-gh run download $run.id -- repo $repository -- dir ' signedApps'
135
135
136
136
$noOfApps = 0
137
- Get-Item " signedApps/Main App-main-Apps-*.*.*.0 /*.app" | ForEach-Object {
137
+ Get-Item " signedApps/Main App-main-Apps-$ ( $newVersion .Major ) . $ ( $newVersion .Minor ) . $ ( $newVersion .Build ) .* /*.app" | ForEach-Object {
138
138
$appFile = $_.FullName
139
139
Write-Host " Check that $appFile was signed"
140
140
[System.Text.Encoding ]::Ascii.GetString([System.IO.File ]::ReadAllBytes($appFile )).indexof(' DigiCert Trusted G4 RSA4096 SHA256 TimeStamping CA' ) | Should - BeGreaterThan -1
You can’t perform that action at this time.
0 commit comments