oficina / base Public

release-mac.sh: look for Timeless Sans where a Mac resource bundle keeps it

Summary

The smoke check looked at BaseNative_BaseKit.bundle/Fonts (the iOS layout); on the Mac the font is at BaseNative_BaseKit.bundle/Contents/Resources/Fonts, where the notarized 0.1.0 (1) has it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 082b45b52f14e4c3ea6ce1b47e308a4074ea1943 parent 0f24414
1 file changed, +1 −1
  • native/scripts/release-mac.sh +1 −1

CI passed — run details

CI log
=== build ===
CGO_ENABLED=0 go build ./...
=== vet ===
go vet ./...
=== fmt-check ===
=== staticcheck ===
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./...
=== govulncheck ===
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
No vulnerabilities found.
=== gitleaks ===
9:56PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
9:57PM INF 1 commits scanned.
9:57PM INF scanned ~2380791 bytes (2.38 MB) in 239ms
9:57PM INF no leaks found
=== budget ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 22 directories within budget
=== script-test ===
scripts/prepare-apps_test.sh
ok   releases lookup failure stops before ship
ok   app owned elsewhere stops the script
ok   apps listing failure stops before create
ok   ambiguous release dir is refused
ok   explicit version resolves the ambiguity
ok   releases match is exact, not substring
ok   shipped version is only promoted, existing app not created
ok   fresh account creates, ships, promotes to edge, enables
ok   failing promote stops the script
ok   ship is retried while uploads are rate limited
all passed
hack/fonts_test.sh
fonts_test: ok
=== test ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -count=1 ./...

receipt: test step 6.899s against a 60s target (the gate's other steps are not in this figure)
receipt: 16 packages ran, 0 cached, 6 without tests, 0 failed
receipt: slow package 6.057s amadan.net/oficina/base/internal/webtest
receipt: slow package 922ms amadan.net/oficina/base/internal/issuer
receipt: slow package 586ms amadan.net/oficina/base/internal/operations
receipt: slow package 184ms amadan.net/oficina/base/internal/consumer
receipt: slow package 161ms amadan.net/oficina/base/internal/web
receipt: slow test 1.52s amadan.net/oficina/base/internal/webtest TestHomeDoesNotWaitOnAStalledSnapshot
receipt: slow test 1.07s amadan.net/oficina/base/internal/webtest TestAskZoneIsToldOnce
receipt: slow test 670ms amadan.net/oficina/base/internal/issuer TestAuthorizeSignsForInstalledApp
receipt: slow test 510ms amadan.net/oficina/base/internal/operations TestOperationsRefusals
receipt: slow test 220ms amadan.net/oficina/base/internal/webtest TestAskZoneAgainOnANewConnection
=== native ===
strings: copy review's strings.json is not here (git-ignored); its comparison skipped
strings: 119 in the catalog, 116 used
worktree-lib_test: ok
diff --git a/native/scripts/release-mac.sh b/native/scripts/release-mac.sh
index dedab93..2c45426 100755
--- a/native/scripts/release-mac.sh
+++ b/native/scripts/release-mac.sh
@@ -120,7 +120,7 @@ run xcrun stapler validate "$SMOKE/Oficina Base.app"
run spctl --assess --type execute -vv "$SMOKE/Oficina Base.app"
if [[ $PUBLISH == 1 ]]; then
[[ -f "$SMOKE/Oficina Base.app/Contents/embedded.provisionprofile" ]] || die "no embedded provisioning profile"
- [[ -f "$SMOKE/Oficina Base.app/Contents/Resources/BaseNative_BaseKit.bundle/Fonts/TimelessSansVF.woff2" ]] || die "Timeless Sans is not in the bundle"
+ [[ -f "$SMOKE/Oficina Base.app/Contents/Resources/BaseNative_BaseKit.bundle/Contents/Resources/Fonts/TimelessSansVF.woff2" ]] || die "Timeless Sans is not in the bundle"
ents=$(codesign -d --entitlements - --xml "$SMOKE/Oficina Base.app" 2>/dev/null | plutil -convert json -o - -)
for want in 9U4A84C4WK.works.oficina.base 9U4A84C4WK.works.oficina.id 9U4A84C4WK.works.oficina webcredentials:id.oficina.works; do
[[ $ents == *"\"$want\""* ]] || die "entitlement $want missing"