From 120d95ed59e342eda3829c509998db88b873a5b0 Mon Sep 17 00:00:00 2001 From: Sandro Date: Sun, 17 Apr 2022 02:34:51 +0200 Subject: [PATCH] Fix CI with newer git, remove git version check (#409) --- .github/workflows/scripts/dist-tarball-check | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/scripts/dist-tarball-check b/.github/workflows/scripts/dist-tarball-check index e974c9e..cefb037 100755 --- a/.github/workflows/scripts/dist-tarball-check +++ b/.github/workflows/scripts/dist-tarball-check @@ -19,6 +19,8 @@ dist_tarball=$(ls ddclient-*.tar.gz) \ || fatal "'make dist' must be run before this test" tmpdir=$(try mktemp -d) || exit 1 +# newer git versions are particular about file ownership which can be ignored here +git config --global --add safe.directory /__w/ddclient/ddclient || true log "Copying contents of Git repository..." try git archive --format=tar --prefix=git-repo/ HEAD \