From 6ccf5b4e090553d65040f564388f062f9b34d9c9 Mon Sep 17 00:00:00 2001 From: soul Date: Wed, 25 Nov 2026 20:47:32 +0100 Subject: [PATCH] Release workflow: fix backslash normalisation in bash preflight Co-Authored-By: Claude Sonnet 5.5 --- .forgejo/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index dac57947a..d3025c59a 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -36,7 +36,7 @@ jobs: set -u missing="" first_bash="$(cmd.exe //c where bash 2>/dev/null | head -n 1 | tr -d '\r')" - case "${first_bash//\//}" in + case "${first_bash//$'\x5c'//}" in "C:/Program Files/Git/"*) ;; *) missing="$missing"$'\n'" PATH resolves bash to '$first_bash', not Git Bash (the forgejo-release action would run WSL bash)" ;; esac