summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-02-10 04:35:43 +0100
committerGravatar Nikias Bassen2022-02-10 04:35:43 +0100
commit5b8c9a825d4a577e87e1137cd83257d75892a51a (patch)
treea500dd6548572b8069e9884107192ea460b84063
parent08aefcd597d26a5d99f64815a2b932c36f056164 (diff)
downloadlibimobiledevice-5b8c9a825d4a577e87e1137cd83257d75892a51a.tar.gz
libimobiledevice-5b8c9a825d4a577e87e1137cd83257d75892a51a.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 2612e32..2a81f1a 100644
--- a/.github/workflows/build.yml
+++ b/.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: