summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-02-10 01:26:01 +0100
committerGravatar Nikias Bassen2022-02-10 01:26:01 +0100
commitc035c6bcea282fb31c08eddae73b16fb8e5543f0 (patch)
tree4c38959e5508668568a39bc533ce7c521239cf49
parentd6026ca0e878ede5c1bd2be7c74fc0827e83824e (diff)
downloadlibplist-c035c6bcea282fb31c08eddae73b16fb8e5543f0.tar.gz
libplist-c035c6bcea282fb31c08eddae73b16fb8e5543f0.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 20b316f..4d5f711 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -127,6 +127,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
- uses: actions/checkout@v2
with:
fetch-depth: 0