fix(dist): the extra-artifacts build honours its script's shebang (improvise-f9qf)

`build = ["sh", "scripts/build-web-release.sh"]` overrides the shebang the
same way the old local gate did, so the script ran under dash on the release
runner while declaring bash. It is the seventh such site and the only one
outside a shell file; scripts/checkers.sh cannot see a TOML array, so this one
is fixed by reading rather than by a gate.

The script is mode 100755, so dropping the `sh` runs it through its own
`#!/usr/bin/env bash`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FC2jVn8Au7E9JPkw6bwXXH
This commit is contained in:
Edward Langley
2026-09-22 16:08:33 -07:00
parent 2151fe0759
commit f52c2df0c7
+1 -1
View File
@@ -36,4 +36,4 @@ install-updater = false
# web/assemble.sh, the same two scripts ci.yml and a developer run. # web/assemble.sh, the same two scripts ci.yml and a developer run.
[[dist.extra-artifacts]] [[dist.extra-artifacts]]
artifacts = ["improvise-web.tar.gz"] artifacts = ["improvise-web.tar.gz"]
build = ["sh", "scripts/build-web-release.sh"] build = ["scripts/build-web-release.sh"]