mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-16 19:36:54 +00:00
Share the real composer, provider-witness and completed-reply check across post-build bundle smoke and desktop-bearing install/update checkpoints. Keep native automatic-relaunch proof separate from post-update chat. Download receipt-bound artifacts without release credentials and install DMG, ZIP, MSIX and universal MSIXBUNDLE on each native architecture. Split Windows assembly from feed publication; publish tested bytes only. Bind candidate smoke results into the manifest used by stable promotion. Verify historical/source provenance without assuming a version IPC commit, strip CI identity from source build children, and use the actual Electron PID rather than Playwright's Windows launcher wrapper. Validation: real Linux Electron chat and sequential OLD/NEW source smoke with preserved history; 145 targeted Python tests and 14 JS tests passed; TypeScript, shell/PowerShell parsing and workflow checks passed. Native macOS/Windows deployment and historical upgrades need Actions proof.
8 lines
No EOL
367 B
Shell
8 lines
No EOL
367 B
Shell
#!/usr/bin/env bash
|
|
# OLD and NEW must stamp the checked-out source, not the CI driver's ref.
|
|
# A subshell preserves the workflow's identity and the git URL redirect.
|
|
source_build_env() (
|
|
unset GITHUB_SHA GITHUB_REF GITHUB_REF_NAME GITHUB_HEAD_REF GITHUB_BASE_REF
|
|
unset HERMES_BUILD_COMMIT HERMES_PAYLOAD_TAG HERMES_PAYLOAD_VERSION HERMES_DESKTOP_VARIANT
|
|
"$@"
|
|
) |