Форсить LF для .sh через .gitattributes
Bash-скрипты (preconfigure.sh) с CRLF ломаются в Linux-CI. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Bash-скрипты всегда LF (иначе ломаются в Linux-CI из-за CR в shebang/командах)
|
||||
*.sh text eol=lf
|
||||
# PowerShell — CRLF (нативно для Windows)
|
||||
*.ps1 text eol=crlf
|
||||
# YAML workflow — LF
|
||||
*.yaml text eol=lf
|
||||
*.yml text eol=lf
|
||||
Reference in New Issue
Block a user