From c4453559d6009979689d44271241597ec6946657 Mon Sep 17 00:00:00 2001 From: Adnaan Badr Date: Sat, 25 Jul 2026 12:52:56 +0000 Subject: [PATCH] fix(release): use env-bash shebang so release.sh runs on non-FHS systems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release.sh hardcoded '#!/bin/bash', which fails on systems without /bin/bash (e.g. NixOS, where bash lives under /run/current-system/sw/bin). There the script exits with 'bad interpreter: /bin/bash: no such file or directory' and creates no tag — the release silently no-ops (this bit the v0.4.0 cut; it had to be run via an explicit bash path). '#!/usr/bin/env bash' resolves bash via PATH, working on NixOS and standard FHS systems alike. Verified: 'bash -n release.sh' clean; './release.sh' with no args prints usage via the new shebang. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_018M9pJSPmG6i1D8s6rpEV4h --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 154e9910..caf0f1e5 100755 --- a/release.sh +++ b/release.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail # Tinkerdown Release Script