summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-02-10 04:25:18 +0100
committerGravatar Nikias Bassen2022-02-10 04:25:18 +0100
commit064fcbf0e7ab9d620567877ee42da043281d2906 (patch)
treea89ca2d0287ad28f1fc5964b25134aac2f5ea08a
parent2507c9d5e85ee52e4cedad91e16672b6621cd7a3 (diff)
downloadlibusbmuxd-064fcbf0e7ab9d620567877ee42da043281d2906.tar.gz
libusbmuxd-064fcbf0e7ab9d620567877ee42da043281d2906.tar.bz2
[github-actions] Windows: Prevent -dirty suffix in version string by disabling CRLF conversion
-rw-r--r--.gitattributes1
-rw-r--r--.github/workflows/build.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..176a458
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f52bc14..3de4c08 100644
--- a/.github/workflows/build.yml
+++ b/.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: