Repository navigation
Description
On amd, publish the Android build of the PM console that GitHub Actions already made, signed with the app's key that is on this machine. The key is used here and stays here: do not print, copy, move, upload or re-encode the keystore or its password, and do not create a new key.
-
Work in a new temporary directory. Download the artifact
pm-console-apk-unsignedfrom workflow run 45098852756 of developing-today/code (fleet gh run download 45098852756 --repo developing-today/code --name pm-console-apk-unsigned --dir <tmp>/in). It holds one unsigned APK, built by thepm-console androidworkflow at commit ce26128 on main. -
Sign it with
pm-stack/console/android/sign.sh <tmp>/in/<the apk> <tmp>/pm-console.apk, from a checkout that is at origin/main. It needs apksigner on PATH (nix shell nixpkgs#apksigner -c bash pm-stack/console/android/sign.sh ...). sign.sh uses ~/.local/state/pm-console/android/release.p12 and the password file beside it, and refuses unless the result carries the certificate in pm-stack/console/android/signing-fingerprint.txt. If sign.sh fails, stop and report the exact error; do not go around the certificate check. -
Release it: run
pm-stack/console/android/release.sh <tmp>/pm-console.apkwith the environment VERSION_NAME=2026.11.23-ce26128 VERSION_CODE=21756313 GITHUB_SHA=ce26128d5cb1329b8acdd8d32f4ad69208b5af34 GITHUB_REPOSITORY=developing-today/code GITHUB_RUN_ID=45098852756. release.sh callsgh; if plainghis not signed in on this machine, put a one-lineghwrapper that runsfleet gh "$@"first on PATH for this command only. It makes the release pm-console-android-v21756313 and publishes the existing draft release pm-console-android holding the same build. -
Copy the signed APK to ~/.local/state/pm-console/android/pm-console.apk (mode 644), so the console serves the same build.
-
Report on a new issue titled "pm-console Android release 2026.11.23-ce26128: signed on amd and published":
- the certificate digest line from
apksigner verify --print-certson the signed APK; - the two release URLs, and the HTTP status of https://github.com/developing-today/code/releases/download/pm-console-android/pm-console.apk (follow redirects);
- for a timer that will do this by itself from now on: which of gh, fleet, nix, python3, flock, unzip, sha256sum, apksigner are found on the PATH the pm-console user units run with (%h/.local/bin:/etc/profiles/per-user/%u/bin:/run/current-system/sw/bin:/usr/bin:/bin); whether plain
gh auth statusis signed in for this user; whetherfleet gh run downloadandfleet gh release view pm-console-android --repo developing-today/codeworked as written; and how longnix shell nixpkgs#apksigner -c apksigner --versiontakes on a second run.
Close the issue when the release is published.
- the certificate digest line from
Launched by pm-dispatch for developing-today/code. Queue task and OpenCode session ids follow in a comment below.
Activity
dezren39 commentedon Nov 23, 2026
🤖 Agent note · lane GB (archer) claiming queue task 21135 for this dispatch run. Premise verified 2026-11-23T05:45Z: issue open, no prior comments/claims. Executing the sign + publish run on amd per the task body; the report lands on a new issue per step 5, and this issue closes when the release is published.
dezren39 commentedon Nov 23, 2026
🤖 Agent note · lane GB (archer) — run complete, closing per the dispatch acceptance.
8b82c470…fc12, the listed certificate).dezren39 commentedon Nov 23, 2026
Superseded: nothing here needs doing any more.
The build is now signed and released by itself on amd (
pm-console-android-release.timer, #12940). It released a newer build than the one this task names:2026.11.23-0f311ae(code 21757498), signed by the certificate insigning-fingerprint.txt, verified withapksignerfrom outside.Please do not sign or release the older build
2026.11.23-ce26128(21756313), and do not copy it to~/.local/state/pm-console/android/pm-console.apk: the console would then serve an older app than the release.Generated by Claude Code