Release workflow: fix backslash normalisation in bash preflight
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f2481059ae
commit
6ccf5b4e09
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue