shithub: rgbds

Download patch

ref: 830df360ae7dd5f045d177c5bc57746a9a6d337e
parent: c75551b1b38befc3eeb2aa7102ff59d4c4ee23be
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sat May 8 19:22:31 EDT 2021

Specify that all .sh files need Unix line endings

The `git config --global --unset core.autocrlf` command
was failing in the "Create release artifacts" workflow,
so this is an alternate method of fixing issue #841.

--- /dev/null
+++ b/.gitattributes
@@ -1,0 +1,2 @@
+# Shell scripts need Unix line endings (see https://github.com/gbdev/rgbds/issues/841)
+*.sh text eol=lf
--- a/.github/workflows/create-release-artifacts.yaml
+++ b/.github/workflows/create-release-artifacts.yaml
@@ -8,9 +8,6 @@
   windows:
     runs-on: windows-2019
     steps:
-      - name: Disable auto-CRLF # This breaks scripts (see https://github.com/gbdev/rgbds/issues/841)
-        run: |
-          git config --global --unset core.autocrlf
       - uses: actions/checkout@v2
       - name: Get version from tag
         shell: bash