Fix CI with newer git, remove git version check (#409)
This commit is contained in:
parent
263cd80c7b
commit
120d95ed59
1 changed files with 2 additions and 0 deletions
2
.github/workflows/scripts/dist-tarball-check
vendored
2
.github/workflows/scripts/dist-tarball-check
vendored
|
@ -19,6 +19,8 @@ dist_tarball=$(ls ddclient-*.tar.gz) \
|
||||||
|| fatal "'make dist' must be run before this test"
|
|| fatal "'make dist' must be run before this test"
|
||||||
|
|
||||||
tmpdir=$(try mktemp -d) || exit 1
|
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..."
|
log "Copying contents of Git repository..."
|
||||||
try git archive --format=tar --prefix=git-repo/ HEAD \
|
try git archive --format=tar --prefix=git-repo/ HEAD \
|
||||||
|
|
Loading…
Reference in a new issue