Forráskód Böngészése

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

Nikias Bassen 3 éve
szülő
commit
5b8c9a825d
2 módosított fájl, 2 hozzáadás és 0 törlés
  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: