Browse Source

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

Nikias Bassen 3 years ago
parent
commit
064fcbf0e7
2 changed files with 2 additions and 0 deletions
  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

@@ -139,6 +139,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: