hermes-agent/apps/bootstrap-installer
emozilla 1d9aacbd00 feat(installer): make commit pinning opt-in, default to branch-follow
The bootstrap installer's build.rs unconditionally baked a commit pin via
`git rev-parse HEAD`, forcing every dev build to clone an exact SHA at
install time. That SHA had to be pushed to origin or the fresh-box clone
would fail.

Make the commit pin opt-in: by default build.rs bakes ONLY the detected
branch, so the installer follows that branch's HEAD at install time. Set
HERMES_BUILD_PIN_COMMIT (SHA, tag, or branch name) to bake an immutable
commit pin for reproducible/release builds; it is resolved to a SHA via
`git rev-parse --verify <ref>^{commit}` and fails loud on an unresolvable
ref. Runtime resolution already supported branch-only pins, so no changes
needed in bootstrap.rs / install_script.rs / install.ps1.
2026-06-01 21:35:46 -04:00
..
src Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
src-tauri feat(installer): make commit pinning opt-in, default to branch-follow 2026-06-01 21:35:46 -04:00
.gitignore Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
index.html Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
package.json Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
tsconfig.json Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
tsconfig.node.json Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
vite.config.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00