fix(release): gate channel and distribution acceptance
This commit is contained in:
@@ -13,6 +13,7 @@ $requiredFragments = @(
|
||||
'Frozen backend JAR hash mismatch',
|
||||
'Content candidate hash mismatch',
|
||||
'Release approval candidate hash mismatch',
|
||||
'Release approval APK signer mismatch',
|
||||
"'operations/release-backend.sh'",
|
||||
"'operations/release-preflight.sh'",
|
||||
"'operations/verify-aug1-production-api-readonly.sh'",
|
||||
@@ -34,7 +35,9 @@ $requiredFragments = @(
|
||||
'fixedCodeNoRealSmsConfirmed = $true',
|
||||
'deployPlanSmsOrLoginTriggered = $false',
|
||||
"artifact = 'aug1-release-approval.json'",
|
||||
'approvedPolicyQuestions = $approvedQuestionCount'
|
||||
'approvedPolicyQuestions = $approvedQuestionCount',
|
||||
'approvedDirectChannels = $approvedChannelCount',
|
||||
'controlledDistributionStatus = $distributionApprovalStatus'
|
||||
)
|
||||
foreach ($fragment in $requiredFragments) {
|
||||
if (-not $source.Contains($fragment)) {
|
||||
|
||||
Reference in New Issue
Block a user