Преглед изворни кода

[github-actions] Windows: Prevent -dirty suffix in version string by disabling CRLF conversion

Nikias Bassen пре 3 година
родитељ
комит
5b8c9a825d
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 1 0
      .gitattributes
  2. 1 0
      .github/workflows/build.yml

+ 1 - 0
.gitattributes

@@ -0,0 +1 @@
+* text=auto

+ 1 - 0
.github/workflows/build.yml

@@ -178,6 +178,7 @@ jobs:
           dest=`echo ${{ matrix.msystem }} |tr [:upper:] [:lower:]`
           echo "dest=$dest" >> $GITHUB_ENV
           echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV
+          git config --global core.autocrlf false
     - name: fetch libplist
       uses: dawidd6/action-download-artifact@v2
       with: