-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Expand file tree
/
Copy path.gitattributes
More file actions
17 lines (15 loc) · 1011 Bytes
/
Copy path.gitattributes
File metadata and controls
17 lines (15 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
*.zip filter=lfs diff=lfs merge=lfs -text
# ── Auto-update manifest: byte-exact, never line-ending normalised ───────────
# The updater verifies an Ed25519 detached signature (updates.json.sig) over
# the bytes of updates.json AS SERVED. Any CRLF↔LF translation by Git — on
# checkout, on a Windows clone, or via a core.autocrlf setting — changes those
# bytes and the signature check fails, which the client treats as a tampered
# manifest and refuses to update. -text pins both files to their committed
# bytes on every platform. Do not remove.
updates.json -text
updates.json.sig -text
# ── Shell scripts must stay LF ───────────────────────────────────────────────
# .github/scripts/*.sh run on Linux/macOS runners. A CRLF copy committed from
# a Windows checkout (core.autocrlf=false) fails there with
# "/usr/bin/env: 'bash\r': No such file or directory".
*.sh text eol=lf