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:
+1
-1
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user