Let the deploy compute its version without node #332

Closed
opened 2026-09-12 19:27:32 +00:00 by jcoffey-dev · 0 comments
Owner

The deploy script asked node for the build's version string, and that was the only thing it needed node for. Web_Host has no node (it runs everything as containers), so today's deploy stopped at node: command not found before building anything.

The version is now the same sum scripts/version.mjs does, in shell: the commit's own date plus the pull request it arrived through, or its short SHA. IHASMAIL_VERSION is still honoured as given. Checked against the node script on a merge commit, a plain commit and an older commit; all three agree.

Merged 2026-09-12 as coffey-labs/ihasmail@b0564679e6

Rebuilt from: GH Archive, git history, session transcript.

The deploy script asked node for the build's version string, and that was the only thing it needed node for. Web_Host has no node (it runs everything as containers), so today's deploy stopped at `node: command not found` before building anything. The version is now the same sum `scripts/version.mjs` does, in shell: the commit's own date plus the pull request it arrived through, or its short SHA. `IHASMAIL_VERSION` is still honoured as given. Checked against the node script on a merge commit, a plain commit and an older commit; all three agree. **Merged** 2026-09-12 as coffey-labs/ihasmail@b0564679e619 <sub>Rebuilt from: GH Archive, git history, session transcript.</sub>
This repo is archived. You cannot comment on issues.