mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-10-01 09:19:34 +05:30
fix(ci): stop CRLF conversion of the pinned FiraCode license on Windows
The Windows runner's git checkout rewrote assets/fonts/FiraCode-LICENSE.txt line endings (autocrlf), changing its bytes and tripping the SHA-256 pin in download-tools.js. A .gitattributes marks the license (-text) and all font/ image binaries as never-normalized so every platform checks out identical bytes.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Text artifacts that are hash-pinned must check out byte-identical everywhere
|
||||
assets/fonts/FiraCode-LICENSE.txt -text
|
||||
# Binaries: never normalize
|
||||
*.ttf -text
|
||||
*.woff -text
|
||||
*.woff2 -text
|
||||
*.png -text
|
||||
*.ico -text
|
||||
*.icns -text
|
||||
Reference in New Issue
Block a user