import-cert.sh deleted the temporary keychain on every exit, including
success, so it was gone before package.sh signed with it in the next step.
The v0.22.0 macOS release failed at the first codesign call with "The
specified item could not be found in the keychain."
The decoded certificate is still removed on every exit. The keychain and
its folder are now removed only when the import fails; on success the
release workflow's clean-up step deletes the keychain, as before #5923.
This matches the shared import-macos-certificate action.
Every packaging script runs under bash, so [[ ]] is available. Name the positional
parameters of sha256, render and has, end env.sh's functions with an explicit return
(bare, so the exit status is unchanged), and give the build-label case a default arm.
The app, crates, binaries, bundle id, packaging, icons, screenshots and docs are now
PdfCraft / pdfcraft (repo storytold/pdfcraft). On first launch the desktop app moves the
PrintCraft settings and crash-recovery folders to the new name, and both apps read settings
saved under the old storage key, so upgrades keep recent files, preferences and unsaved work.
The signing test fixtures keep their PrintCraft subject names (they are binary).
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>