authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-08-10 13:35:40+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-10 11:35:40+00:00
log3b72d17cbca691f0b64e6d4a10c9e349f42873a5
tree2ed3f44d9918e73531ded96800f7208a0c4a7656
parentd440442db6cd1c45696ba551a71ee6575cc23f37
signature Signed by PGP key B5690EEEBB952194

fix(mobile): parse EAS fingerprint JSON (#5991)

Co-authored-by: codex <codex@users.noreply.github.com>

1 files changed, 3 insertions(+), 1 deletions(-)

.github/workflows/mobile-eas-production.yml+3-1
...@@ -195,7 +195,9 @@ jobs:...@@ -195,7 +195,9 @@ jobs:
195 run: |195 run: |
196 message="$(git log -1 --pretty=%s | head -c 120) ($(git rev-parse --short=9 HEAD))"196 message="$(git log -1 --pretty=%s | head -c 120) ($(git rev-parse --short=9 HEAD))"
197 for platform in ios android; do197 for platform in ios android; do
198 hash="$(eas fingerprint:generate --platform "$platform" --environment production --json --non-interactive | jq -r '.hash')"198 # eas-cli prints an environment-loaded notice to stdout before the
199 # JSON even with --json, so discard everything before the document.
200 hash="$(eas fingerprint:generate --platform "$platform" --environment production --json --non-interactive | sed -n '/^{/,$p' | jq -er '.hash | select(type == "string" and length > 0)')"
199 matching="$(eas build:list --platform "$platform" --build-profile production --status finished --fingerprint-hash "$hash" --limit 1 --json --non-interactive | jq 'length')"201 matching="$(eas build:list --platform "$platform" --build-profile production --status finished --fingerprint-hash "$hash" --limit 1 --json --non-interactive | jq 'length')"
200 if [ "$matching" -gt 0 ]; then202 if [ "$matching" -gt 0 ]; then
201 eas update \203 eas update \