Commit aa44512b85

Andrew Kelley <andrew@ziglang.org>
2022-12-19 00:31:12
CI: workaround git bug regarding changed attributes
1 parent e6a4e87
Changed files (1)
ci/aarch64-windows.ps1
@@ -31,6 +31,11 @@ if ((git rev-parse --is-shallow-repository) -eq "true") {
     git fetch --unshallow # `git describe` won't work on a shallow repo
 }
 
+# Fix files that have their gitattributes changed
+git rm -rf lib
+git restore --staged lib
+git checkout lib
+
 Write-Output "Building from source..."
 Remove-Item -Path 'build-release' -Recurse -Force -ErrorAction Ignore
 New-Item -Path 'build-release' -ItemType Directory