One run of the Release workflow (.github/workflows/release.yml) builds,
signs, verifies, and publishes the CLI, Deadbolt.app and the browser
extension from one commit to the Anomaly release service (anomalyco/release,
https://anoma.ly/release). It is Hex's release pipeline, which follows
OpenCode's.
Work lands on dev (pull requests target it). production holds what was
released and moves only by fast-forward from dev.
| Channel | Runs on | Version | Publishes |
|---|---|---|---|
dev |
every push to dev (not docs/site/Markdown-only); dispatch from dev |
0.0.0-dev-<run> (.<attempt> on a full rerun) |
release service dev channel |
check |
dispatch (channel: check) from dev or production |
as dev from dev, as stable from production |
nothing: builds, signs and verifies only |
stable |
push to production, push of tag v<version>, dispatch from production |
[workspace.package] version |
release service stable, GitHub release v<version> (Latest), Homebrew |
Releases never cancel each other, as in Hex: the running one finishes, and of
the pushes that land meanwhile only the newest waits (GitHub replaces an older
pending run), so a busy dev still publishes, about once per release run.
.github/release/plan.sh decides all of this from the event and ref. Versions
are display text: each channel has one current release, and installs follow it.
Release builds stamp the version into Cargo.toml (scripts/set-crate-version.sh,
never committed) and the channel into the binary (DEADBOLT_BUILD_CHANNEL,
shown by deadbolt --version, e.g. deadbolt 0.0.0-dev-42 (dev)), which
deadbolt update follows (Updater).
Release (push dev | production | v*, or workflow_dispatch: channel)
├─ plan plan.sh: channel, version, tag, notes [build]
├─ build-linux-* deadbolt-<v>-linux-{x64,arm64}.tar.gz (glibc 2.28+, deadbolt-ui beside) [build]
├─ build-linux-*-musl deadbolt-<v>-linux-{x64,arm64}-musl.tar.gz (static, no app) [build]
├─ build-extension deadbolt-extension-<v>.zip (manifest version stamped) [build]
├─ build-enclave deadbolt-enclave for arm64 + x86_64, ad hoc [build]
├─ sign-enclave Developer ID-signs the two helpers; decides "signed" [release]
├─ build-macos deadbolt + deadbolt-ui pinned to those helpers; universal Deadbolt.app
│ (ad hoc); deadbolt-<v>-darwin-{arm64,x64}.tar.gz (headless) [build]
├─ sign-macos sign-macos.sh: CLI + app inside-out, notarize, staple, zip + DMG [release]
├─ verify-macos Gatekeeper, staple, update requirement, Touch ID pin, launch [build]
├─ build-npm signed only: @deadbolt/cli + 6 platform packages (scripts/package-npm.sh),
│ the CLI's signatures and an install checked [build]
├─ publish OIDC: cli, desktop, extension to the release service; provenance [release]
├─ publish-attestations build provenance for the npm tarballs [id-token]
├─ publish-npm OIDC trusted publishing: npm, dist-tag dev / latest [release]
├─ github stable: tag v<v>, GitHub release with every file + SHA256SUMS [contents: write]
├─ homebrew-stage stable: render formula + cask, brew style/audit/install/test [build]
├─ homebrew stable: push deadbolt.rb and Casks/deadbolt.rb to the tap [release]
└─ record-brew OIDC: the tap serves <v> (cli and desktop distributions) [release]
- Build jobs (
[build]) run repository code (cargo,build.rs, swiftc, bun, brew) with no environment, secret or id-token, and make unsigned files. Release builds use no cache. - Sign and publish jobs (
[release]) run in thereleaseenvironment, check out only.github/release/(sparse), and run only those scripts and SHA-pinned actions on artifacts they treat as data. They never build, install dependencies, or run repository code or the artifacts, and their credentials come from AWS Secrets Manager through GitHub OIDC. - Artifacts each carry a
SHA256SUMS; the job that made one reports that manifest's digest as an output, and every job that downloads it checks the digest and every file (.github/release/upload,download,verify-artifacts.sh).assemble.shaccepts only this version's release file names.
.github/workflows/release.yml and .github/release/ are the security
boundary. Protect .github/ with CODEOWNERS and a ruleset on dev and
production (pull requests with code-owner review), as Hex does.
Two builds per architecture. deadbolt itself is headless in both; the
desktop app is the separate deadbolt-ui:
- glibc, with the app (
linux-x64,linux-arm64):deadboltanddeadbolt-uibeside it, built inquay.io/pypa/manylinux_2_28(AlmaLinux 8, glibc 2.28), pinned by tag and digest, so it runs on glibc 2.28 and later (Debian 10, Ubuntu 18.10, RHEL 8 and newer). The runner's own Ubuntu 24.04 would require glibc 2.39, as Hex's builds do; 2.28 is the manylinux baseline Python wheels use. Rune loads Wayland, X11 and the GPU drivers when a window opens, so the job fails unless everyNEEDEDlibrary of either binary is glibc's (libc, libm, libdl, libpthread, the loader) or libgcc_s, no symbol needs a glibc newer than 2.28, anddeadbolthas no wgpu in it. It then runs--version,--help,init,debug daemon status,new,lsandapp(which must say there's no graphical session) in AlmaLinux 8 minimal, which has no display and no desktop libraries. - musl, static, without the app (
linux-x64-musl,linux-arm64-musl):deadboltalone, for Alpine, containers and glibc older than 2.28. The job checks it's static and thatdeadbolt appsays the app isn't installed.
deadbolt and deadbolt-ui pin the exact bytes, signature included, of the
deadbolt-enclave they ship with (DEADBOLT_ENCLAVE_SHA256, from
crates/enclave, touch-id.md), so the helper is signed before
they are compiled: build-enclave →
sign-enclave → build-macos (DEADBOLT_ENCLAVE_PREBUILT) → sign-macos,
which signs deadbolt and the app around the helper and fails if the helper's
bytes change. verify-macos checks every architecture slice's pin.
- The app is universal (arm64 + x86_64, macOS 12+, like
bundle.sh --universal): one signing and notarization, one DMG and one cask for every Mac, at about twice the size. The service lists the same files under bothmacos-arm64andmacos-x64, so an updater looks up its own target as Hex's does. Contents/MacOS/Deadboltisdeadbolt-ui, the app, andContents/Helpers/deadboltthe headlessdeadbolt, signed apart, so the daemon tells the app from the CLI (app.md).verify-macoschecks both pin the helper and that the CLI links no Metal.- Code identities:
anomaly.deadbolt(the app),anomaly.deadbolt.cli(deadbolt, in the app and the tarballs),anomaly.deadbolt.enclave(the helper), all Developer ID team5NZ4Q7NXJ4with the hardened runtime and a secure timestamp.sign-macos.shrefuses any Mach-O in the app other thanContents/MacOS/Deadbolt,Contents/Helpers/deadboltandContents/Helpers/deadbolt-enclave. - The CLI tarballs hold the headless
deadboltanddeadbolt-enclave, and nothing of the app (verify-macoschecks); both are notarized (bare executables cannot be stapled). The app and DMG are notarized and stapled.crates/app/update-requirement.txtis what an updater must require of a newDeadbolt.app(identifier, team, Developer ID, notarized). - Without the Apple values
devandcheckgo on unsigned: the macOS CLI tarballs carry the ad-hoc helper anddeadbolt, and no app is built into the release.stablefails.
.github/release/registry-deadbolt.json is Deadbolt's entry for
anomalyco/release (registry/deadbolt.json, listed in registry/index.ts):
repository anomalyco/deadbolt (id 1421127274, owner 66570915), workflow
.github/workflows/release.yml, environment release:
refs/heads/production, refs/tags/v* channels stable, beta
refs/heads/dev channel dev
Deadbolt has three artifacts, each with a manifest at
https://anoma.ly/release/deadbolt/<artifact>/<channel>.json:
| Artifact | Targets | File |
|---|---|---|
cli |
macos-arm64, macos-x64, linux-x64, linux-arm64 (glibc, with deadbolt-ui) |
deadbolt-<v>-{darwin,linux}-<arch>.tar.gz |
linux-x64-musl, linux-arm64-musl (static, no app) |
deadbolt-<v>-linux-<arch>-musl.tar.gz |
|
desktop |
macos-arm64, macos-x64 |
Deadbolt-<v>-macos-universal.zip (root Deadbolt.app, for an updater) |
macos-arm64-dmg, macos-x64-dmg |
Deadbolt-<v>-macos-universal.dmg |
|
extension |
chromium |
deadbolt-extension-<v>.zip (unpacked MV3 build with its fixed key) |
publish uploads each file with its SHA-256, posts each release, then
downloads every published URL and compares it with the local bytes
(release-service.sh); rerunning a publish that already went through is
safe. Distributions: cli lists brew (formula anomalyco/tap/deadbolt),
desktop lists brew (cask anomalyco/tap/deadbolt); each gains a version
only after the tap serves it (record-brew). site/public/install reads the
cli manifest for ${DEADBOLT_CHANNEL:-stable} and checks size and SHA-256.
On Linux it installs the glibc build unless the system is musl (/lib/ld-musl-*,
or ldd --version says musl) or its glibc is older than 2.28, which get the
-musl build (DEADBOLT_LIBC=gnu|musl overrides);
DEADBOLT_VERSION installs a pinned stable version from its GitHub release.
As OpenCode publishes @opencode/cli: npm i -g @deadbolt/cli (stable,
dist-tag latest) or @deadbolt/cli@dev. Seven packages, all UNLICENSED
with repository anomalyco/deadbolt (provenance requires it):
| Package | Holds | os / cpu / libc |
|---|---|---|
@deadbolt/cli |
bin/deadbolt (a placeholder), postinstall.mjs; every platform package as an exact-version optionalDependency |
darwin, linux / arm64, x64 |
@deadbolt/cli-darwin-arm64, -darwin-x64 |
bin/deadbolt and bin/deadbolt-enclave, signed and notarized (the release's CLI tarball; the app is Deadbolt.app, apart) |
darwin / its cpu |
@deadbolt/cli-linux-x64, -linux-arm64 |
bin/deadbolt and bin/deadbolt-ui, glibc |
linux / its cpu / glibc |
@deadbolt/cli-linux-x64-musl, -linux-arm64-musl |
bin/deadbolt, static without the app |
linux / its cpu / musl |
The wrapper's postinstall (packaging/npm/postinstall.mjs, as OpenCode's)
links bin/deadbolt to the installed platform package's deadbolt, checking
its version and that it runs, and installs the package itself when the
package manager skipped it. Where install scripts don't run (pnpm, bun, npm
with scripts disallowed), the placeholder runs the postinstall on first use,
then the command. On
glibc it links only the glibc package (with the app), never the static build
in its place; on musl it prefers the -musl package, else the glibc one; on
glibc older than 2.28 only -musl, as the install script picks. The
postinstall never fails the install (a package manager would remove the
package and the user's deadbolt with it): when it can't link (npm doesn't
serve the platform package yet, say), it says so in one line, exits 0 and
leaves the placeholder, whose next run tries again and otherwise says why and
exits 1, deleting nothing. A link replaces the placeholder only once it runs.
It links rather than copies, since Deadbolt knows its files by real
path: Touch ID's helper (macOS) and the app, deadbolt-ui (glibc Linux), sit
beside the package's deadbolt. On macOS deadbolt app opens a Deadbolt.app
installed in Applications (the DMG or the cask); the darwin packages used to
carry one, at about 166 MB unpacked, and now carry only the CLI. deadbolt update updates an npm, pnpm, bun or
yarn install by running that manager (see Updater).
build-npm(macOS, no secrets) packs from the verified Linux tarballs and the signed macOS CLI tarballs, so a run without the Apple values publishes no npm. It checks the packed binaries withcodesign --verify --strictand thatdeadboltlinks no Metal, then installs the darwin-arm64 package and the wrapper into a temporary prefix and runsdeadbolt --version.publish-attestationssigns build provenance for every tarball;publish-npm(releaseenvironment) verifies it withgh attestation verify, reads each tarball'spackage.jsonas data and requires exactly the seven names atDEADBOLT_VERSION, nopublishConfigbeyondaccess, no install script but the wrapper's, and exactly the CLI tarball's files in each platform package'sbin/. It publishes with a clean npmrc,--tag <dev|beta|latest> --access public --ignore-scripts --provenance, platform packages first and the wrapper last, skipping versions the registry already has. The registry shows large platform packages minutes after publishing them, so the wrapper waits (up to 10 minutes, else the job fails and a rerun resumes) untilnpm viewshows all six. Dev versions (0.0.0-dev-<run>[.<attempt>]) are valid semver prereleases.- Trusted publishing: each of the seven packages trusts repository
anomalyco/deadbolt, workflowrelease.yml, environmentrelease. There is no npm token; the job's OIDC token is the credential (npm 11.5+, Node 24.11 here).
deadbolt update [--check] [--channel dev|beta|stable] [--yes] [--allow-rollback] [--json]
(crates/cli/src/update.rs) follows the release service's client rules
(anomalyco/release docs/protocol.md, src/protocol/decide.ts): versions
are display text, tested only for equality, so an install updates whenever its
channel's current release isn't the build it runs, a rollback included.
- Channel: the build's (
DEADBOLT_BUILD_CHANNEL). Builds from source have none and need--channel. Another channel than the build's is a switch: it asks on a terminal, else needs--yes, and ignores the rollout. - Rollout:
requiredinstalls at once; otherwise the install's bucket (0–99, drawn once from a local random number and kept in$XDG_STATE_HOME/deadbolt/rollout-bucket, never sent) must be underrollout_percent. - What it updates depends on where the running
deadboltis, symlinks resolved:Deadbolt.app/Contents/Helpers/deadbolt(or~/.local/bin/deadboltlinked to it): thedesktopartifact'smacos-arm64/macos-x64zip. Beforeditto -x -kunpacks it, every entry must be underDeadbolt.app/(or ditto's__MACOSX/), with no symlink pointing out of the bundle and nothing written through one, at most 2 GiB; after, every symlink in the bundle is checked again. It must passcodesign --verify --deep --strictagainstcrates/app/update-requirement.txt(compiled in) andspctl --assess --type execute; then the app is quit, the daemon stopped, the old bundle renamed aside within its directory and moved to~/.Trash/Deadbolt-<old version>.app, the new one renamed into place, quarantine cleared if present, and the daemon restarted from whichever bundle is in place, even if the swap failed and the old one was put back (the vault comes back locked). An app on a disk image or under App Translocation is refused, and one whose cask record exists (<brew prefix>/Caskroom/deadbolt) gets the manifest'sbrew upgrade --caskinstead.- Anything else (the install script, a tarball, a build): the
cliartifact's tarball for this OS and architecture (linux-<arch>-muslfor the static build), read in-process: only regular files nameddeadbolt,deadbolt-enclaveanddeadbolt-uiare written, never links, devices, other names or owners, into the 0700 staging directory beside the install. On macOS a release withoutdeadbolt-enclavedoesn't replace adeadboltthat has one beside it (the new one pins its own helper). Adeadbolt-uiin the release (glibc Linux) is written besidedeadbolt. The running files are moved into the stage, the new ones renamed in, and on any failure the old files come back. If the running daemon is this binary it is stopped and started again from the new one. - npm's package (checked before the bundle, as older darwin packages
carried Deadbolt.app): a path under
node_moduleswhose package (the directory undernode_modules/@deadbolt/) is@deadbolt/clior one of its platform packages, and whose@deadbolt/cli(beside it or above it) has abinresolving to thisdeadbolt. As OpenCode's updater does,updateasksnpm list -g --depth=0 @deadbolt/cli,pnpm list -g --depth=0 @deadbolt/cli,bun pm ls -gandyarn global listat once (15 s each; a missing manager or a failure is a no), those named in the path first (bun'sinstall/global/node_modulescounts as bun), and takes the first that lists@deadbolt/cli. The version is the manifest'snpmdistribution when Release carries one (Release is the source of truth, so the registry isn't asked), else what the registry serves for the channel (registry.npmjs.org/-/package/@deadbolt/cli/dist-tags,latestfor stable), which trails the release service by minutes; without a distribution entry the registry must also have the platform package this system's postinstall links (registry.npmjs.org/@deadbolt/cli-<platform>/<v>:darwin-<arch>,linux-<arch>, orlinux-<arch>-muslon musl or glibc older than 2.28), which can trail the wrapper by minutes more: until both equal the manifest's release (under the manifest's rollout rules), the update is pending, forupdate,--checkand the daemon's check alike. Then, asked on a terminal unless--yes, it runs, pinned to that version:npm install --global @deadbolt/cli@<v>,pnpm add --global --allow-build=@deadbolt/cli @deadbolt/cli@<v>,bun install --global --trust --cache-dir <temp> @deadbolt/cli@<v>(--trustruns the wrapper's postinstall; the fresh cache, deleted after, because bun never prunes its own) oryarn global add @deadbolt/cli@<v>. The manager is found on PATH (bun also in$BUN_INSTALL/bin,~/.bun/binand beside the global install). Afterwards it runs the newdeadbolt --versionthrough the user's link (~/.bun/bin/deadbolt,<prefix>/bin/deadbolt, else the wrapper'sbin/deadbolt), which also lets the wrapper link itself, checks the version, and restarts the daemon from it (locked) if it ran from this install. On failure it prints the manager's last 12 lines of output, the command it ran and what to do next. It never removes or links files itself; the manager and the postinstall do. A package no manager claims gets the command to run by hand. - Homebrew's
Cellar(or a cask record) runsbrew upgrade anomalyco/tap/deadbolt(--caskfor the app) when the manifest'sbrewdistribution has a new version, then checks<prefix>/bin/deadbolt --version. /nix/store,/usr(not/usr/local) or~/.cargo/binbelongs to that package manager:updateprints its command and changes nothing.- Commands
updateruns are always these fixed ones, never a command from a manifest.
- Signatures: a release build (published on a channel) on macOS always
requires its replacement to satisfy the update requirement with identifier
anomaly.deadbolt.cli(andanomaly.deadbolt.enclavefor the helper), withoutnotarized, as bare executables aren't stapled. That's fixed when it's built: nothing on disk turns it off, so an unsigned dev build can't update itself until dev builds are signed. Only builds from source rely on the checksum alone, as the install script does.codesign,spctl,ditto,xattr,osascriptandopenrun from/usr/bin(/usr/sbin/spctl), and one that can't run is an error, never "unsigned". - Older manifests: the highest
sequenceseen for each artifact and channel is kept in$XDG_STATE_HOME/deadbolt/release-sequences.json, and a lower one is refused unless--allow-rollback, which never lowers the remembered maximum. Only manifests with valid shape and matching app, artifact and channel can advance it. A missing or zero-byte state file starts empty; unreadable or nonempty malformed state stops the update, even with--allow-rollback, rather than discarding trusted floors. The error names the exact path: restore it from a trusted backup, or correct its read permissions. Deleting it loses all remembered replay floors; Deadbolt never deletes it automatically. A persistentupdate.lockin the same state directory givesupdate(including--check) exclusive access for the whole transaction, through installation. A competing invocation fails and must be retried after the first finishes; separate state directories are not coordinated. A real rollback is a new write with a higher sequence, so installs still follow it. The protocol'srevoked_versionsis always[]and clients ignore it, soupdatedoes too. - Root: as euid 0,
updateonly changes an install in a root-owned directory with a root-ownedHOME. - Extension:
deadbolt browser install --extension-dir <dir>records an absolute path as an[[extensions]]entry inconfig.toml; the directory must be new or empty. Several can be registered (one per browser profile, say), anddeadbolt browser uninstall --extension-dir <dir>unregisters one, leaving its files. An older config's singleextension_diris read as one entry and rewritten the next time the config changes; the retired standalone build'sbuildandextension_buildkeys are ignored. For each directory,updatecompares itsmanifest.jsonversion_namewith theextensionmanifest and replaces the directory from itschromiumzip (regular files and directories only, at most 64 MiB and 4096 entries, staged beside it and renamed into place), writing.deadbolt-extensionwith the names it installed. It never replaces a directory holding anything else. Then it says to reload Deadbolt inchrome://extensions. Without a registered directory it prints the channel's download link. Deadbolt.app doesn't update extensions. - Checks: manifests come only from
https://anoma.ly/release(no redirects, 30 s, at most 1 MiB, polled withIf-None-Matchso an unchanged one costs a 304); file URLs are resolved against the manifest URL and must stay under its origin's/release/deadbolt/files/; a download stops past the manifest's size and must match its size and SHA-256 before it's unpacked, run or moved. Nothing needs the vault, so it works locked.--checkprints what's available and exits 10 if anything is, else 0;--jsonprints a structured{current, latest, channel, available, method, action}object on stdout (with optionalreason,command, andnotes_url). Requests sendUser-Agent: deadbolt/<build channel or source>/<version>/cli. - Background checks: the daemon checks ten seconds after it starts,
then every ten minutes on
devand every hour onstableandbeta, whetherupdatewould install something, with the same manifest rules, limits and User-Agent, npm's version for npm's package and Homebrew's for Homebrew; each manifest'sETagis sent asIf-None-Matchnext time. It never downloads or installs anything, nor writes the sequence floors, and ignores a manifest older than them; it works locked. A failed check is logged and retried in a minute ondevor five onstableandbeta, doubling each time but never waiting more than an hour, and a success resets it. Release builds that know their channel check; builds from source, Nix, Cargo and system installs, and an app that can't be replaced where it is don't.DEADBOLT_NO_UPDATE_CHECK=1in the daemon's environment turns it off, as does macOS'sDisableUpdatespreference in theanomaly.deadboltoranomaly.deadbolt.clidomain (read withdefaults, so a managed Mac's administrator setting counts). - Notifications: what the check found is in the daemon's
statusreply,deadbolt debug watchemits{"change":"update"}when it changes, and the desktop app's Settings show a quiet "Deadbolt is out" row. Interactive commands (stdin and stderr terminals, no--json; notdebug watch,update,run, the app or the daemon) end with one stderr line, at most once a day per version (update-noticein the state directory):deadbolt <version> is out (installed with bun): run deadbolt update. The CLI only reads the daemon's answer; with no daemon running it says nothing and never asks the network. Nothing installs until the user runsdeadbolt update; the lock above keeps two from installing at once. - Tests point it at a fake service with
DEADBOLT_RELEASE_URLand a fake registry withDEADBOLT_NPM_REGISTRY_URL, which only debug builds read and only for a URL on 127.0.0.1 or [::1].DEADBOLT_UPDATE_CHECK_CHANNEL(debug builds only) makes the daemon check that channel at once and every second. - Install receipt:
site/public/installwritesinstall.jsonbesidedeadbolt({"app":"deadbolt","artifact":"cli","channel":"...","method":"direct","root":"..."}).deadbolt updatechecks a trustedinstall.jsonreceipt first (regular non-symlink file, user-owned and not group/world-writable, matchingapp,artifact, and canonicalizedroot) before falling back to path heuristics.
Both live in anomalyco/homebrew-tap, rendered from packaging/homebrew/ by
scripts/release-homebrew.sh from the stable manifests:
- Formula
deadbolt.rb(tap root,brew install anomalyco/tap/deadbolt): the CLI tarballs from the release service; installsdeadbolt, and on macOSdeadbolt-enclavebeside it. - Cask
Casks/deadbolt.rb(brew install --cask anomalyco/tap/deadbolt): the DMG, plusbinarylinkingContents/Helpers/deadboltasdeadbolt, so the command is always the same build as the daemon the app starts (the app treats that link as its own). The formula and the cask both ownbin/deadbolt, so brew installs only one of them; Homebrew's caskconflicts_with formula:is not functional, so it is left out.zapremoves the vault (~/.local/share/deadbolt), config, state, the browser native messaging manifests and the app's preferences.
Release secrets live in AWS Secrets Manager (account anomaly-secrets, managed
from anomalyco/secrets). A job that
needs one runs in the release environment and assumes
role/github/deadbolt-release with its GitHub OIDC token, fetching only the
secrets it uses; the role's trust requires that environment, and it can read
deadbolt/release/* and the shared Apple and Homebrew secrets. Set a value
with bun set deadbolt release <NAME> in that repo; no release secret is
stored in GitHub.
- macOS:
shared/APPLE_SIGNING_CERTIFICATE(base64.p12, no password, with the Developer ID Application identity for team5NZ4Q7NXJ4),shared/APPLE_NOTARY_KEY(the App Store Connect API.p8), and variablesAPPLE_NOTARY_KEY_IDandAPPLE_NOTARY_ISSUER_ID.macos-credentials.shimports them into a throwaway keychain and prints nothing secret. - Homebrew:
shared/HOMEBREW_TAP_DEPLOY_KEY, theanomaly-releasewrite deploy key onanomalyco/homebrew-tap, shared by every Anomaly app. - The environment has no required reviewer (every push to
devpublishes); its deployment policy admitsdev,productionandv*tags. - Publishing needs no secret: the service authorizes the
publishandrecord-brewjobs by their OIDC token, and npm authorizespublish-npmby its OIDC token (trusted publishing, see npm).
- On
dev, set[workspace.package] versioninCargo.toml(and runcargo update -wforCargo.lock) and adddocs/releases/<version>.md. - Let the push publish its dev build and try it
(
curl -fsSL https://deadbolt.pw/install | DEADBOLT_CHANNEL=dev sh). git push origin <commit>:production(fast-forward only). The push runs the stable release. Push toproductionor the tag, not both.planrefuses a version that is already tagged elsewhere, already current, or has no notes.- If a later job fails, use Re-run failed jobs; a full rerun stops at
planonce the version is published.
A push to production that only changes docs/, site/ or Markdown starts
no release (paths-ignore applies to every branch). Deploy the site
separately (cd site && bun run deploy, with explicit approval).
deadbolt browser installwrites its own executable as the native messaging host. After installing the app, the host should point at/Applications/Deadbolt.app/Contents/Helpers/deadbolt(or the cask's link), not at a moved binary (deadbolt updatereplaces files in place, so the path stays valid).- Update offers in the app itself (it can run
deadbolt update, which updates a registered extension directory too), and a Chrome Web Store listing for the extension.