@@ -116,7 +116,7 @@ app = {
116116 "CFBundleExecutable": "fearless",
117117 "CFBundleIdentifier": bundle,
118118 "CFBundleShortVersionString": "4.2.0",
119- "CFBundleVersion": "2026.7.27 ",
119+ "CFBundleVersion": "2026.7.28 ",
120120 "FearlessBuildConfiguration": "Release",
121121 "FearlessEnableTestability": "NO",
122122 "FearlessGitCommit": git_sha,
@@ -172,7 +172,7 @@ run_audit() {
172172 bash " $AUDIT " \
173173 --archive " $ARCHIVE " \
174174 --expected-git-sha " ${EXPECTED_GIT_OVERRIDE:- $EXPECTED_GIT_SHA } " \
175- --expected-build 2026.7.27 \
175+ --expected-build 2026.7.28 \
176176 --expected-executable-sha256 " ${EXPECTED_EXECUTABLE_SHA_OVERRIDE:- $executable_sha } " \
177177 --expected-archive-sha256 " ${EXPECTED_ARCHIVE_SHA_OVERRIDE:- $archive_sha } " \
178178 --expected-signing-certificate-sha1 " ${EXPECTED_SIGNING_CERTIFICATE_SHA_OVERRIDE:- $signing_certificate_sha1 } " \
@@ -239,6 +239,11 @@ assert_contains '"archiveTreeSHA256"' "$CASE_DIR/output/receipt.json"
239239assert_contains ' "distributionProfile": "valid-app-store"' " $CASE_DIR /output/receipt.json"
240240printf ' %s\n' " [ios-signed-release-audit-test] PASS: canonical signed archive"
241241
242+ prepare_case wrong-build
243+ mutate_plist " $APP /Info.plist" \
244+ ' value["CFBundleVersion"] = "2026.7.27"'
245+ expect_failure wrong-build " archived build number is not the expected fresh build"
246+
242247prepare_case wrong-commit
243248EXPECTED_GIT_OVERRIDE=" aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
244249expect_failure wrong-commit " embedded git commit"
@@ -402,4 +407,4 @@ assert_contains "only in the explicit test harness" "$CASE_DIR/stderr"
402407printf ' %s\n' " [ios-signed-release-audit-test] PASS (rejected): override without harness"
403408
404409printf ' %s\n' \
405- " [ios-signed-release-audit-test] PASS: 1 positive + 32 negative/adversarial contracts"
410+ " [ios-signed-release-audit-test] PASS: 1 positive + 33 negative/adversarial contracts"
0 commit comments