Skip to content

Commit ed66bbe

Browse files
committed
ci: fix macOS shell compatibility in release build
Replace bash 4-only lowercase expansion with portable tr-based normalization so release builds work on macOS runners.
1 parent 231bf1c commit ed66bbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
shell: bash
3737
run: |
3838
set -euo pipefail
39-
os="${RUNNER_OS,,}"
39+
os="$(printf '%s' "$RUNNER_OS" | tr '[:upper:]' '[:lower:]')"
4040
arch_raw="$(uname -m)"
4141
case "$arch_raw" in
4242
x86_64|amd64) arch="x64" ;;

0 commit comments

Comments
 (0)