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