diff --git a/ci/publish-tarball.sh b/ci/publish-tarball.sh index a343aa31ecbcd5..f8877e53d8a095 100755 --- a/ci/publish-tarball.sh +++ b/ci/publish-tarball.sh @@ -48,9 +48,13 @@ windows) TARGET=x86_64-pc-windows-gnu # Enable symlinks used by some build.rs files # source: https://stackoverflow.com/a/52097145/10242004 - git config core.symlinks true - find -type l -delete - git reset --hard + ( + set -x + git --version + git config core.symlinks true + find -type l -delete + git reset --hard + ) ;; *) echo CI_OS_NAME unset